All Questions

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
425 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
39 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
16 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
17 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
21 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
10 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
20 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
2answers
25 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
9 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
26 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
6 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
18 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
20 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
11 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
157 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
13 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
19 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
27 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
19 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
19 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
14 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, ...
0
votes
0answers
23 views

sys admin cannot log as some users

I have sys admin profile. I dont understand why I am not able to log as some users which have the same custom profile. For example in the image, "Analyst T.O" has the same profile as "Analyst, Credit" ...
0
votes
0answers
24 views

Limitations with Cases in Lightning

From my understanding there is no 'Close Case' button for Cases in Lightning. Would it be possible to create a custom button that references a flow that could be present at the header along with other ...
1
vote
1answer
22 views

Can we access Lightning App Builder values?

When my custom component is dropped into a page in Lightning App Builder, I'm using the .design file in the lightning component to expose global attributes that affect the app layout and feature ...
1
vote
1answer
17 views

Is it possible to expose all rows in a Marketing Cloud data extension?

I'm looking to display a list of items in an email dynamically- was wondering if this was possible to achieve with AmpScript? For example, let's say I have an email like this: Items now available ...
1
vote
1answer
17 views

Find out how an user has View Encrypted Data permission?

I have an user who is not able to view the SSN field whereas he had access to view the SSN field before. It appears that the "View Encrypted Data" permission has been revoked for him. The profile of ...
2
votes
1answer
30 views

Delete all records in All Subscribers List at once

We're doing some data cleanup here and need to delete all records from the All Subscribers List. I've seen several suggestions regarding exporting all the records from All Subscribers to a CSV, then ...
0
votes
0answers
14 views

Mutual authentication with certificates is compatible with use of OAuth 2.0?

in a server to server Architecture. Salesforce acting as client and server so the external system. Is it possible to implement both mutual authentication with certificates and OAuth 2.0 into ...
0
votes
0answers
19 views

Classic experience buttons in lightning

We are migrating to lightning and are noticing that some classic custom buttons work in lightning as long as they're not javascript. We have a bunch of custom buttons that replace(think of having the ...
-3
votes
1answer
35 views

How to Retrieve Parent Object Custom Field in Lightning Controller?

I have a custom field Entity_Id__c on Opportunity Object. I'm building a Lightning Component and want to use from Quote Object via Lightning Action as below : <aura:component implements="force:...
0
votes
1answer
13 views

Job ID question

I have been trying to get Job IDs for emails that have been sent on a Journey. When I go to tracking > sends Journey builder sends, there is an external key and not a job id. Where can I find the job ...
0
votes
1answer
27 views

Increase size of Lightning Component to fit properly on a record page

The component I created on the right appears smaller than the activity card. I've tried several ways to increase it's size but have failed. Is there a way to make it look like the card below it? ...
0
votes
0answers
20 views

How to retrieve Parent Object custom fields in Lightning Data Services? [duplicate]

I have a custom field Entity_Id__c on Opportunity Object. I'm building a Lightning Component and want to use from Quote Object via Lightning Action as below : <aura:component implements="force:...
0
votes
0answers
23 views

Insert ContentVersion without VisualForce

I've got a CSV file stored on the user's hard drive and I want to store it in Salesforce. The code I have uses Visualforce and Apex to, I think, open up the file and place the contents on a hidden ...
1
vote
1answer
16 views

Raise an onblur event in lightning:tab

We are creating tabs in a tabset dynamically. We need to save a record when a tab loses focus. For some reason, the onblur event is not raised. onactive works fine, but we already lost the focus of ...
1
vote
2answers
30 views

How to allow edit access to for certain record types only

I need all user to be able to see all opportunities. However, Department A should only be able to edit opportunities assigned to 3 record types (x,y,z) and Department B should only be able to edit ...

15 30 50 per page