1
vote
0answers
3 views

how to hide salesforce email address?

I have a requirement where... my company works for different clients(like Orange, Apple, Avacado,etc.) and it's customers. We send requests and quotes to different customers on behalf of different ...
0
votes
0answers
9 views

How to retrieve last character of string?

I am trying to find something similar to JAvascripts charAt() to get the last character of a String. I am trying using indexof and I just can't. I get the first value returned. Thus, I tried doing it ...
0
votes
0answers
9 views

SOQL query all tasks and events with opportunities and any connected campaigns

I'm fairly new to SOQL but I need to write a query that returns all activities (Events and Tasks) that are associated with an opportunity. In addition I'd like to get any campaigns that are ...
0
votes
0answers
10 views

Case Page Layout not showing for a specified profile

I've created a Record Type for Cases, then a new Page Layout and assigned it to a specific Profile. This doesn't seem to work, when I log in as a user, I still get the same old Case Page. Any ...
0
votes
0answers
11 views

salesforce Validation rule on Opportunity closed

I am trying to implement a validation rule where if an opportunity is closed then there are certain fields have to be edited by a public group users. consider public group as RTS Delivery. my ...
0
votes
1answer
17 views

Apex class exiting without writing record

I'm writing a scheduled Apex class to retrieve data from an external web service, I can see it make both it's callouts in the debug log and do the JSON processing it's supposed to do but it never ...
0
votes
1answer
14 views

Getting Error in calling apex method from Button action

Can somebody help me with this code I am trying to change the value if the Validated__c field to true whenever the button is clicked. Class Code: global class checkbox{ webservice static void ...
0
votes
1answer
11 views

Referencing a wrapper in a test class

I have a controller extension to a VF page to which I am trying to write a test class for. The page works fine. I've managed to cover all methods save one. It relies on a inner wrapper class that I ...
0
votes
0answers
8 views

Realty family/home profiling survey and reporting

I am looking for recommendations on a platform to start developing a custom mobile friendly survey that will collect various client buying criteria and develop a report based on the survey results. I ...
0
votes
0answers
11 views

How to check a mail ,weather it is existing or not before inserting a record

I have a email field on an object.User can enter the data from VF page into this object.I was just checking weather there is any provision to check the given email-id is valid or not. Its not ...
0
votes
0answers
18 views

Hyperlink Formula not working

I have below Formula for showing a Record's Name field as hyperlink. Clicking on that needs to open a custom Apex page passing the recordid in it. But that's not working , as I am unable to figure out ...
2
votes
0answers
7 views

Automatic re-naming of bind variable in Execute Anonymous debug log - why did/does this happen?

I have a simple execute anon script, which outputs something unexpected. Execute anon script Id accountId = '0012500000EJiaG'; List<Account> accountList = [SELECT Id, Name FROM Account ...
1
vote
0answers
14 views

Changing code from Lookup to Picklist

I have a trigger to assign lead owner based on a lookup field user selected by person registering a lead. I want to know how can i achieve the same, if instead of a lookup field the field was a ...
1
vote
0answers
12 views

Navigate to Community Page with Url Parameter

I have a community page with a lightning component on it that will load some details for a salesforce record. I'd like to load the page from another community page and pass the id of the record I'd ...
1
vote
0answers
9 views

Salesforce1 problem

I have made an app for the Salesforce1 Platform, I can access it on-line through https://.lightning.force.com/one/one.app. The app works perfectly on-line, however when I open my app inside ...
1
vote
0answers
6 views

Setting up Products with Quantity Price points

Trying to setup products where the product list price would be different based on quantity. Don't see any standard features for products/pricebooks that support this so thinking I would have to ...
-1
votes
0answers
12 views

How to select a checkbox on button click

I have a page on which I have a button and a checkbox. I want my checkbox to get selected on button click. Can someone help me with the apex code for that?
-1
votes
2answers
11 views

Error: List has more than 1 row for assignment to SObject

I am getting the above error when I attempt to preview the page Page code <apex:page standardController="Case" extensions="CaseOrg2OrgExtension" sidebar="true" showHeader="true" > ...
0
votes
1answer
7 views

Reporting a rate off a comment field

In our service org - all our custom flows write case comments for actions the agents take on the case. For instance, when an agent reactivates a user, we write a comment that says, "Priceplan ...
1
vote
1answer
15 views

How to update membership object from product after insert?

I am using the bulk api to upload a CSV file to a custom object with the same fields as my CSV file. I then use an 'after insert' trigger to insert the data from the CSV custom object into the proper ...
0
votes
0answers
20 views

Inline VF page date fields not workings

I have added a inline VF page , which is added to account object. That VF page is having some fields 2 date columns / field. One update button having save as action. **<script ...
-1
votes
1answer
20 views

Compile Error: Method does not exist or incorrect signature: [System.HttpRequest].setboby(String)

I'm trying to compile a class that sends an httprequest POST to an external web service and I'm getting an error `Method does not exist or incorrect signature: [System.HttpRequest].setboby(String) ...
0
votes
2answers
12 views

Query of Tasks for Custom Object

I have a list of Custom Objects, created by customers each day - they can be considered like trouble tickets. Against each one, is a Task created when our agents make an outbound call back to the ...
1
vote
1answer
11 views

Writing an HttpPost RestResource for multipart contentType

I've been able to write a simple HttpPost RestResource that would accept a Base64 string as one of the parameters and make an attachment out of it. But actually we want to use multipart instead of ...
0
votes
1answer
13 views

Can I add Case Comments to an Email Template? [on hold]

I'd like to be able to send an email to a customer with the last comment made by an Agent. EG: We need more information to resolve your case. Such as XYZ. The purpose of this will be to send an ...
0
votes
0answers
5 views

How to add a link to a newly created record in Text template of Flow?

I'm trying to add a link to the record that gets created from an after insert trigger which calls a Flow, in this flow I want to add the link to the Text template, which I'll be using to send email ...
2
votes
2answers
42 views

Difference between the new Salesforce Platform Developer 1 certificate and the old Developer certification DEV-401

I'm a little bit confused about the new Salesforce Platform Developer I certificate. Is it a replacement of the old developer certificate (DEV-401)? If so, does DEV-401 certified developers need to ...
2
votes
0answers
9 views

Event and Task input fields are not displaying on sites URL for sandbox

I am not able to see fields of event & task (Activity) in sites that i have created. I already check all of the permission for each fields as well and from sites i checked Public Access Setting ...
1
vote
1answer
29 views

Group and Enterprise Edition Relationship - Salesforce to Salesforce

is it possible to connect regular objects and custom objects from Enterprise edition of Salesforce Sales Cloud to Group edition of Salesforce Sales Cloud through Salesforce to Salesforce ...
-2
votes
1answer
28 views

Recursive Trigger with one example [duplicate]

Can anyone explain me how to stop recursive triggers with an example?
1
vote
0answers
22 views

Error while saving flow

I am using flows, in this case there is a flow that cancels a Case. It was functioning ok, until I added a new field in Case Object (Note di annullamento) and wanted to map it with the input field ...
0
votes
0answers
8 views

while refresh page block(auto completion script code outside pageblock it is not working) [duplicate]

<apex:pageblock id="pb"> <script type="text/javascript"> $( ".AutoPin" ).autocomplete({ source: function( request, response ) { ...
1
vote
0answers
13 views

Queueable interface and getContentAsPDF

today i'm facing some issues with the queueable interface. This is my use case: i gave to send an email with a pdf attachment when an object is created. This is my solution: When user create a ...
0
votes
1answer
27 views

How can i split the address

I need to split the address using script. This is my input addresses 1 Avenue Descartes 92350 Le Plessis-Robinson FRANCE My output like below: 1 Avenue Descartes 92350 Le Plessis-Robinson FRANCE ...
9
votes
1answer
32 views

Image added through RestResource is not fully uploaded

I used this answer to make apex rest resource. It works perfectly for small images, but when I want to upload a bit larger image, the bottom part just gets cut. I was trying to upload this picture, ...
2
votes
1answer
17 views

Can interface have inner classes or interfaces?

Can interface have inner classes or interfaces? Looks like it is not possible and the answer is no, however it is not mentioned anywhere in the documentation ...
0
votes
2answers
31 views

Want setup button outside my settings

I want to move set up button outside the mysettings. Want to access it directly on the home page, instead of going to the mysettings. See attached screenshot.
0
votes
1answer
29 views

I have access to Contact, even though OWD is set to Private and record has not been shared

I have set OWD for both Account and Contact to Private. I created an Account and shared it with all users. I created a Contact for that Account, but I didn't share it with any users. I log in as a ...
1
vote
1answer
12 views

Scheduled Job. Clean 'Setup>Jobs>Scheduled Jobs' programmatically

I have to create scheduled job, that will be executed every minute. Using http://advancedapex.com/2012/11/14/scheduledapex/ following code was written: global class ScheduledOperatorStatusMonitor ...
-3
votes
0answers
21 views

how to create test class for below apex class

@RestResource(urlMapping='/v2/getShipping/*') global with sharing class REST_Shipping_Controller { @HttpPost global static String getValidate(String country) { /** * ...
1
vote
0answers
5 views

How to use Softphone(Open CTI) in a Custom Visualforce page with out enabling sidebar?

I am trying integrate a Softphone layout and make a call using "sendCTIMessage" with appropriate parameters including phone number, So far the call is being made if the softphone layout is loaded in ...
1
vote
0answers
14 views

apex soap 1.2 call out

I am trying to do http callout with soap 1.2 request but facing following error..? Error - System.UnexpectedException: java.lang.IllegalArgumentException: invalid start or end. request:- ...
0
votes
0answers
8 views

Data.Com Duplicate Management Merge Option

I am working with data.com duplicate management. Here I have created contact email duplicate Rule. Is there any Standard way to merge Duplicate if found ? we can do it manually but I need any other ...
1
vote
1answer
14 views

Send attachments through email

I have one custom object suppose naming Invoice. When I create a record and attach three or more attachments, at that time an email should be send with those many attachments. those attachments can be ...
1
vote
1answer
18 views

Null String value to hardcode value

I have below piece code where I want to assign 'No Value' to the string (Oldvalue) if it is Null. I have tried it by several approaches like (String.isblank etc), but not getting desired output. Can ...
0
votes
1answer
15 views

Which profile is workflow/email alerts using

We are using an Visualforce email template to send emails via workflow/email alerts. During testing, the email is received. But anything related to data is not populated. Things like ...
0
votes
0answers
33 views

how to cover inside for loop in test class? [on hold]

How to cover the for loop? lines are not covered inside for loop.please find the below screenshot & help me
1
vote
2answers
28 views

How to coverage more than 90% in test class?

I got 88% for this apex class, but i want morethan 95%.how to achieve this?please help me. apex class: public class Rfleet_Financial_Informations { public List<RFLEET_Account_Protocol__c> ...
0
votes
0answers
23 views

Need to fetch Multiple Selected checkboxes values to controller and process them for approval [on hold]

I need to process Multiple Selected Values from checkboxes on Vf page for Approval.. Please see the VF code i am using and also the Controller logic for this.. Vf page : <apex:page ...
-1
votes
1answer
22 views

Parent to child traversal more than 1 level

I have to traverse from Account->opportunity->opportunitylineitem->product.family. I think this can be achieved by map, but i have very less idea on map please help. I am accessing this from the ...

15 30 50 per page