All Questions

0
votes
0answers
15 views

reload the lightning page after calling vf page from lightning controller

I have a lightning component from where I am firing a vf page. That vf page is downloading some data as excel file. I want to redirect to same lightning page after the calling the vf page. but it is ...
0
votes
0answers
11 views

Salesforce CTI error

We are facing a unique problem when it comes to saving the call log for an incoming call. We are using PureCloud as CTI.When the customer calls,PureCloud starts throwing the error"Failed to save the ...
0
votes
1answer
25 views

Lightning design system(LDS)- what is possible?

We've implemented couple of lightning based projects involving medium usage of LDS. So far our approach is to build any UI is Check the requirements from business Consider possibilities within LDS ...
0
votes
0answers
10 views

How to update community user username based on the email

I have a community with community users created from contacts. I want to have a process which updates user record if a related contact record is updated. It works for Email, Phone and other fields, ...
0
votes
2answers
25 views

String Split function is not working in the Lightning JS contoller

I am getting array of string from component's attribute to lightning controller, now I want to split that string to comma separated values and want to assign that to another component variable but ...
0
votes
2answers
25 views

can we use multiple extensions with custom controller

My first doubt is can we use multiple extensions with custom controller. If yes, please check below code and let me know can I call "dosomething" method of Ext2? Ext1: public with sharing class Ext1 ...
0
votes
0answers
12 views

Sending External ID Fields in change data capture(CDC) payload

We have an external system(legacy) from where we will data convert and move the data to salesforce. Lets say the object name is 'Relationship'. every time later when data changes in salesforce for ...
0
votes
1answer
11 views

WebElement which can be located in Classic mode but failing in Lightening mode using Selenium WebDriver

I am trying to automated Salesforce using Selenium WebDriver and so far I have faced many challenges and also overcame after following the suggestions provided in the community. Here, I am facing a ...
-1
votes
1answer
14 views

queried inside controller so how can i access id in that through apex test class?

How can I test below code which is inside controller? public with sharing class AccountDetails{ public Id accRecId; public List<account> accRec { get; set; } public ApexPages....
0
votes
1answer
17 views

How to insert a dummy value for custom metadata setting

I have a batch class and in the constructor of the class, I have a query in which it queries for a Queue. Constructor: public BatchClass(){ final String QUEUE_NAME = GlobalPropertyCache.getValue('...
0
votes
0answers
5 views

setTabHighlighted() returns error “Error: Invalid option property `type`”

setFocusedTabHighlighted : function(component, event, helper) { var workspaceAPI = component.find("workspace"); workspaceAPI.getFocusedTabInfo().then(function(response) { ...
0
votes
1answer
22 views

How to send the div's style through button's onclick in <aura:iteration>?

Even the example from "Lightning Aura Components Developer Guide " doesn't work. I can't set the style to my div. It's because of iteration. How can I fix that? cmp: ...
0
votes
0answers
17 views
0
votes
1answer
22 views

getting Unexpected parameter encountered during deserialization using REST service

why below REST web service does not properly deserialize the input argument?Please help me out? @RestResource(urlMapping='/HH_Survey/*') global class HH_SurveyController { public ...
2
votes
1answer
13 views

How to display Action colum when we convert VF Page into lightning page?

I have contact related list under the account. in Classic if I open any account the related contacts are showing with action column where we can check multiple contacts and mass update(Custom button). ...
0
votes
0answers
6 views

Not able to preview file in community while using lightning:filecard

I have used lightning:filecard to get ID of the document which are uploaded from Salesforce, while debugging I'm getting the ID of the Document but the preview or download option is not available in ...
4
votes
1answer
417 views

How to add a functionality to stop copy paste on an input field in lightning?

I'm making a form that includes two fields, Email and Re-Enter Email. I don't want the user to copy and paste the email id in the second field. I have to prevent right clicks on the re-enter field and/...
3
votes
2answers
37 views

Need help understanding this apex trigger example

I'm just starting out in apex. I want to create a trigger that counts the number of attachments in a record of a custom object. I came across an example here. Here's the trigger code: trigger ...
0
votes
1answer
14 views

Deploy change set from sandbox to production unavailable

I have a process builder which I want to build to production, when I create a change set it says that this change set requires the "45.0" or later platform version, if it was a visualforce page I ...
0
votes
0answers
15 views

Salesforce Marketing Cloud -> exit criteria with condition related to entry date on the journey

It is possible to define the exit criteria with a condition over the entry date of the customer? Example: Order Date of the customer is AFTER the entry date of the customer in that journey. I imagine ...
0
votes
0answers
16 views

Explain side-effects of allowDML attribute in apex:component

In the documentation for apex:component it is said about the allowDML attribute: If this attribute is set to "true", you can include DML within the component. The default is "false". Allowing DML ...
0
votes
0answers
9 views

How to retrieve files from an external server

I'm not at all that familiar with web service, but we do have this requirement in which, once a month, we need to retrieve some pdf files from a folder in an external server, and then attach them to ...
0
votes
1answer
19 views

On creation of campaign in Pardot, Send an emails to users and Tack if the users have accessed/Open that mail

We need to build a Campaign in Salesforce Marketing Application called Pardot, Where we need to create a Campaign which will send out an email with a webinar link to the list of users and we need to ...
0
votes
0answers
16 views

How to assign both (value, label) to picklist field in test class?

Added explanation: Since the Case.picklistField is constantly modified by other Org user (non-developer), so I want to avoid data dependency as much as I could. I have a case trigger method using ...
0
votes
0answers
8 views

Lightning Component isn't available in community builder

I have this at the top of my component <aura:component controller="ProjectAndTicketListController" implements="forceCommunity:availableForAllPageTypes"> Is there any reason why this isn't ...
0
votes
2answers
23 views

Second apex method executing before the first one finishes

I have a vf page displaying several Multi select custom buttons. And I am calling a apex method every time one of the button is clicked from VF page using actionfunction. But if I click 2 buttons in ...
0
votes
0answers
5 views

lightning $A.createComponent doesn't execute the methods in the created instance

I have the below code to instantiate a custom lightning component in the init() method in the lightning controller, unfortunately this doesn't give me the expected output. can someone help? $A....
0
votes
0answers
7 views

Showing “Invalid Page” on the click of navigation tab in Customer Portal. Any suggestions?

I have created a new custom component and Lightning Page, which is assigned to this community page on the click of 'Track Your Order' Page. And on clicking the navigation tab again or refreshing the ...
0
votes
1answer
12 views

Calling Email template in Visual Force page using Iframe

I'm new to this sales force platform.I'm facing the problem to call the email template in visual force page using iframe. my code look like this. <apex:iframe id="previewFrame" title="HTML ...
0
votes
0answers
13 views

Redirect to another page when agent is offline

Is it possible to navigate user to contact us page when user clicks on offline button? I tried to do that using JS, but it opens pop-up and then redirects user. Is is any clean way to redirect user?
0
votes
1answer
19 views

Lightning:Select dynamic form field

I am dynamically creating a form. When I have a basic text input field (lightning:input) the field appears where I would expect it to on the form - ex. the first field, 2nd field, etc. However, as ...
0
votes
0answers
11 views

unable to convert WSDL to Apex, getting Error: Failed to parse wsdl: targetNamespace not specified in wsdl:definitions

below is code <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header> <wsse:Security xmlns:wsse="...
0
votes
0answers
10 views

3 States of Data - Encryption

Three part question about encryption in the 3 data states: In-Transit In-Use At-Rest What types of Encryption does Salesforce offer in these 3 states? Feel free to break it up further in to finer ...
6
votes
2answers
154 views

Recursive lightning component - how to know when it's fully rendered?

I’ve got a lightning component that creates itself recursively and asynchronously in order to fully render a tree-structure data. Here’s a sample code that simplifies the problem. TestApp.app <...
0
votes
0answers
10 views

Refreshing the data used in a story

In the Analytics Studio I have a story I created using a dataset made up of other datasets. When I update the dataset(s) used by the story I dont see a way to update the data used in the story except ...
1
vote
1answer
6 views

Duplicate Rules: “The XXX field is invalid for this field mapping” - during deployment

During a deploy from source control to an org, I get this error: Contact.Standard_Rule_for_Contacts_with_Duplicate_Leads Duplicate Rule The Phone field is invalid for this field mapping. What would ...
0
votes
0answers
18 views

Design codebase for displaying different warnings in working with records

I've been given the task to display two different types of warnings when working with records: Red Warnings: basically validation rules. If a specific combination of multiple field values happen, ...
0
votes
0answers
8 views

Filetype error in community, only happening in sandbox but not in Production

I am receiving below error when I am trying to upload a .FNM file in my community. No code has been changed but it is working in Production with same code but not in sandboxes, does this have ...
1
vote
0answers
12 views

Reproducible? Cannot Add Custom Metadata Record to Change Set if it References Id Field?

I have a Custom Metadata Type which contains a field mapping. There are four basic fields which seem relevant to this situation (though you could likely boil it down to just two): Source Object (...
0
votes
0answers
24 views

lightning:recordViewForm will not load Product2 object on mobile

I have a simple Product2 details component. Component <aura:component implements="lightning:isUrlAddressable, flexipage:availableForAllPageTypes"> <aura:handler name="init" value="{!...
0
votes
1answer
14 views

AMPscript Error with XML

I have a Partner sending some data to a Triggered Email/Data Extension which includes a column for XML data. The trigger is erroring and not allowing the data to get to the Data Extension. Below ...
4
votes
0answers
18 views

Cache.Session not honoring ttlSecs argument?

I'm using session cache and trying to set the TTL (lifetime) to 60 minutes. However it is expiring much more quickly (it appears to be using the default 5 minute expiry). The docs say TTLs is ...
0
votes
0answers
15 views

Maintain the State of a Controller when Opening a Shared Controller VF page as a Console Tab

I am trying to pass all of the values from an object from one Visualforce page to another. objX is queried for two fields id and fieldOne and stored in a list on the controller: listObjX The object ...
1
vote
1answer
17 views

Migration to Content Builder from Classic Content

I mainly use an AMPScript email to create&send emails using Triggered Send. The AMPScript email (script) loads the required information from content html files and values from the Data Extensions ...
0
votes
0answers
13 views

Extracting the send context Data Extension fields using SSJS

I am trying to extract the send context Data Extension from an email thats being sent by placing the following code in the email itself: <script runat="server"> Platform.Load("Core", "1.1.1"); ...
0
votes
0answers
16 views

How to get a zip +4 from a street address [on hold]

We currently only have the 5 digit zip code for all of our addresses. Is there a solution which can provide a zip +4 for a street address ? I thought GeoPointe might possibly do it, but I can't find ...
3
votes
0answers
13 views

Cogroup always gives an 'Unknown IDTOKEN' error

I've been trying to figure out how to cogroup for a long time, and I can never seem to get it to work. The code below should just give two numbers, one from each dataset. My end goal would be to ...
0
votes
0answers
18 views

Map data in visualforce page to a field in Salesforce [on hold]

I have visualforce page that shows JIRA tickets associated with a case. What I would like to do is map the BUG-326 to a field in Salesforce, that way I can run reports on if cases have JIRA's ...
-4
votes
0answers
25 views

Convert Process Builder logic to code [on hold]

I am trying to convert PB logic to Apex class and call the Apex class from a trigger on custom Object. Can anyone help me with writing the Apex class? The Process Builder updates a checkbox on ...
0
votes
1answer
24 views

Allow access to a user-type custom object

I have a custom object called 'Advisor' and for every single record, I would like to allow authentication access for that one Advisor to log in and view their record and make changes. For example, ...

15 30 50 per page