All Questions

1
vote
0answers
12 views

Google Tag Manager and Lightning Community and Components

I've managed to import the Google Tag Manager code into the using the lightning community settings tab. This loads perfectly fine and I can see the 'preview' window for google tag manager. <!-- ...
0
votes
1answer
13 views

How to implement a custom Field Dependency with a Multi-select Picklist as controlling field?

Right now a Multi-select Picklist could only be on the dependent field. There is a custom way to use it as controlling field? Right now my workaround is to use a validation rule to avoid the update/...
0
votes
0answers
19 views

Workflow formula — Simple or double quote?

I've a collegue who is asking me what difference one has to the other, I have to admit I don't have an exact answer.. What is best practise in this case ? Which one do you choose, and why ?
0
votes
0answers
18 views

What happens if there is an inactive user in the predefined case team?

If there is one inactive user present in the predefined case team, does it makes the whole predefined case team as invalid? I have a situation, where if a member of predefined case team replies, then ...
0
votes
0answers
22 views

Auto approve record when it is submitted for approval

I try to approve next step of approval process automatically, when submit for approval button is pressed. So, when the button is pressed, it updates two fields on record and then trigger is run. I try ...
2
votes
1answer
21 views

Invoking trigger when an answer is marked as Best Answer in Chatter

I am trying to invoke a trigger when an answer is marked as 'Best Answer' in Chatter. I tried a trigger on FeedItem and FeedComment objects, but the triggers were not invoked when I mark an answer as ...
0
votes
0answers
18 views

Scheduling a Batch Job dynamically?

I have a batch job which I want to be schedule dynamically according to a sunset time api ( which means that the sunset time is different each day). How can I do so?
0
votes
0answers
6 views

Open a record in Lightning Service Console from lightning Component button

I have a lightning home component outside lightning service console. I want to open a record in a tab on service console Up on clicking a button of this component. I have tried following code, but it ...
1
vote
1answer
9 views

Blank labels in flow formula after packaging

I'm working on a managed package which include a Flow. I want some fields on this Flow to have their labels alterable so i used "Formula" inside the flow with custom labels. This works fine on my ...
3
votes
3answers
194 views

Adding a System.debug changes code behavior

I have the following code Map<Account, Integer> accountsMap = new Map<Account, Integer>(); Account a = new Account(); accountsMap.put(a, 1); a.name='Bob'; //System.debug(accountsMap); ...
-2
votes
0answers
12 views

How to capture First name,Last name,Email id and Phone number from browser cookies and create Lead in salesforce [on hold]

I have one site.com URL when any user open this URL and enter first name,Last name,Email id then click on submit button and capture the user information in salesforce then lead create in salesforce.
0
votes
0answers
28 views

How to delete columns from a data extension using SDK

For example, there is a data extension has three columns, how can I remove AGE column? FN |LN |AGE Jack|Johns|12 Jane|Jones|24 Luke|Smith|15
-2
votes
0answers
21 views

WhatsAPP Api for Salesforce [on hold]

How we can get Whats API key? I'm trying to write rest on whatsapp ..
0
votes
0answers
5 views

Email Template sent from Salesforce has a different format when Received in GMAIL [on hold]

Hi I have an issue where in the email sent from salesforce to gmail has a different look like for example the color of the font is different but when being received in outlook it's all normal. Any ...
0
votes
0answers
13 views

Update related records using process builder [on hold]

Case has Child object - Line Item How to Update Line Items using process builder: Case object has three record types - sc, sr and st parent- case created with sc Child-case created with sr Grand ...
-3
votes
1answer
26 views

Can anyone provide me the test class

public class EmbeddedDocuSignRESTController { public Static String Loan_Prodcut = 'Loan'; public Static String Lease_Prodcut = 'Lease'; public Static String StageName_DocsExe = 'Document ...
0
votes
0answers
14 views

How to set value on div in lightning component?

In visualforce page dynamically i am setting up a value for a div <div class="slds-modal__content slds-p-around_medium" id="modal-content-id-2"> </div> script : $("[id$='modal-content-...
0
votes
1answer
13 views

Idea Apex Live Templates

has anyone used any Idea Live Template for Salesforce? I have recently moved from Sublime to IntelliJ and I was wondering whether any of you has some promising experience with using a specific ...
-1
votes
1answer
19 views

Trigger on custom object to send email after uploading all the mandatory documents

trigger MandatoryDocumentsUploadedEmail on Verification_Documents__c (after insert) { if(Trigger.isAfter){ if(!Trigger.new.isEmpty()){ Set<Id> oppIds = new Set<Id>()...
0
votes
1answer
9 views

Add required custom field only to the business account and not the person account

When I create custom fields(required fields) in the account object, the fields get added to both person account and business account. How do I make those fields only available for the Business account?...
0
votes
0answers
23 views

SOAP API Endpoint not returning object as per applied filter

I am doing this curl request for Sent Event SOAP API Endpoint. Even though I am asking for data greater than a specific date, it is still sending me older data, sometimes even 6 months older. Clearly ...
0
votes
0answers
7 views

Opportunity Line Item's Unit Price(quoted price) field update from related Product custom field

I have a requirement to update the Unit price(quoted Price) field of an Opportunity Line Item from the related Product Object custom field. And I need to perform this update when I am creating the ...
-3
votes
0answers
25 views

Auto populate values from all subscriber

How to auto populate values from all subscriber? Also, how to update the data from all subscriber to triggered send DE? The use case which I am trying to do is-- I have to create an email which will ...
0
votes
0answers
5 views

Prevent Emails appearing in Community Case Chatter Feed

The main issue is the Salesforce documentation does not match what we are seeing. Which makes these multiple issues confusing. so please use the numbered bullets to help answer! Customer Community ...
0
votes
0answers
20 views

Loading the record values after clicking edit button

working on edit button functionality.I have passed record Id to sever side probelm here record contains few dependent picklist values.How can I display dependent picklist values and other record ...
0
votes
1answer
20 views

aura.redirect not working with LWC

I'm developing a Community and I have a custom Login Aura controller. To log in the user I use the standard Site.login() method that returns a pageReference, that then is passed to aura.redirect() ...
0
votes
2answers
21 views

Is there any way to give the flow administrator permissions?

The requirement I have is as follows: In the service cloud, a sales agent who doesn't have permissions to create or edit cases, needs to be able to edit cases and create tasks through a flow. The ...
0
votes
1answer
11 views

Create a task if a particular if a date lapses? Scheduled APEX the only option?

I feel like I may be missing something obvious here, but I have a certain field that is populated with a future date. I would like to ensure that follow-up tasks are created when that due date lapses, ...
0
votes
0answers
13 views

Product price book bulk activate

How to update new price to the price books.
0
votes
0answers
9 views

Trigger when record has updated after chatter post through feeditem class to GROUP ID OR MENTIONS

A MAIN GOAL : TO ALARM ON EACH USERS IN A GROUP FOR RECORD UPDATE (NO PLATFORM EVENTS) API 44 or higher Hello i want to post a article to chatter group members, but i tried to put group id to the ...
0
votes
1answer
19 views

Access Object in Apex Class / Method after passing it from Controller

I (seemed to) have sucessfully passed an object from the client side helper controller into the apex method. However i am having trouble accessing using the dot notation i am used to in javascript and ...
0
votes
1answer
12 views

JS Query variable binding

Trying to transfer an apex query to Javascript. Wondering if binding works in the same manner? Also is using result.length valid for the if statement? var accLike = '%' + 'Construction' + '%'; var ...
0
votes
1answer
19 views

Find Record Type Name

Am just wondering is there a way to saleforce provided libraries of schema/sobject to find name of a record type by pass in record Id in argmuments. I am keen to find a way in which no soql is used ...
0
votes
0answers
17 views

scratch org with knowledge enabled won't accept custom fields when importing json

Given the following scratch org definition file: { "orgName": "ScratchMe", "edition": "Developer", "features": ["Knowledge"], "hasSampleData": "false", "settings": { "...
0
votes
0answers
11 views

Testing Journey not working as expected

I'm using an automated filtered DE as my entry source for a Journey. I'm using the test function to test how the records will flow into my DE. Yesterday when testing, the records were flowing into the ...
0
votes
0answers
19 views

Looking for advice on dealing with an asynchronous callout to Apex in LWC

I am having trouble getting a flow of operations going properly with my LWC. My issue is when a popup is created when a user clicks an edit button on a table cell, it grabs available selections for ...
0
votes
1answer
30 views

JSON generation in apex batch - how to correctly configure cc in email sending

Below is my code that my batch calls to create JSON to call and send emails through sendgrid. I am trying to loop through the list of contacts and add them to the CC object's array. i have attempted ...
0
votes
0answers
9 views

How do I show reminder TIMES in Salesforce Lightning calendar?

How do I show reminder TIMES in Salesforce Lightning calendar? It only shows the date, but it doesn't show what time.
0
votes
2answers
19 views

Query parsing error like clause

What is the correct syntax for a query that retrieves all Accounts that have __Civil_ in the Name? SELECT Id FROM Account WHERE (Name LIKE '%_Civil_%')
0
votes
0answers
12 views

Help Keyword MKT cloud mobile studio

I have been scrubbing through salesforce documentation and I have been unable to find an answer. My current system works like this Default keyword --> makes record using ampscript then responds with ...
0
votes
1answer
8 views

How can I get this button to pass data to controller?

I would like a button to be clicked and use param to set a certain variable in the controller to a value from the VF page. I am hoping someone can either tell me why it's not possible, or (hopefully) ...
0
votes
1answer
17 views

Create Notes(content documents) preventing the edit and Delete on notes

i need an option to create a note preventing the edit and delete on notes for a particular custom object. i wrote a below trigger .. but it is restricting to create a note also. trigger NoteTrigger ...
0
votes
0answers
11 views

Salesforce REST API Update Order

I am trying to update an order, using the REST API. What is wrong with my request? POST https://na82.salesforce.com/services/data/v30.0/commerce/sale/order/8011R00000AHdHkQAL?_HttpMethod=PATCH HTTP/1....
1
vote
1answer
18 views

Test error condition in finish() method of Batchable class

Trying to figure out how to test error condition in the finish() method of this Batchable class. I am testing the error condition in the execute() method by calling it separately in the test and ...
4
votes
1answer
25 views

Does daily package version limit count failed attempts?

Do failed attempts to create unlocked packages count against an org's daily package version creation limit?
3
votes
1answer
22 views

Does adding a detail record cause an update event on the master record?

Background I have a master-detail relationship between two objects, let's call them: parent__c child__c Once the parent__c record is in a certain status__c we block any changes using a before ...
0
votes
0answers
4 views

Automated Dynamic Salesforce Reports emailed to Contact

My org has some particular requirements. We host webinars. We receive webinar attendee data via an excel spreadsheet from gotowebinar, and upload that data onto a custom Salesforce object called ...
1
vote
0answers
16 views

Invalid Query Scope: MineAndMyGroups

I am trying to run the query: SELECT Id,Name FROM ListView USING SCOPE MineAndMyGroups WHERE SObjectType='Account' I want to retrieve only listviews that are owned by the user and were shared/...
0
votes
0answers
6 views

Event Handler for Lightning filecard

I'm looking to overlay a modal on the bottom right of the file preview when users are previewing certain files so they can enter data from these files more accurately. Idea is to trigger a modal upon ...
0
votes
0answers
13 views

No Access .. field was removed from the entity or access to this field was removed e.force:createRecord

In my controller I populate a map with the record type id: ... String myrec = GetRecordType.getDefaultRecordTypeID('Waste_Assessment__c'); fields.put('...

15 30 50 per page