Trending questions in SalesForce

0 votes
1 answer

Get a field value from a SObject List (Apex)

The field API Name is represented by ...READ MORE

Mar 29, 2022 in SalesForce by CoolCoder
• 4,360 points
4,984 views
0 votes
1 answer

Salesforce picklist values not showing up in picklist

For both standard and custom objects, go ...READ MORE

Mar 3, 2022 in SalesForce by CoolCoder
• 4,360 points
5,249 views
0 votes
1 answer

Apex (Salesforce) read json from response and store it in a string variable

String jsonStr = '{ "oktaToken":"eyJraWQiOiIyNlN1NHFMNnVVZTVJX2M5X2Z3WmZvX09ON0dNUHRtQzlEeHFsTGplLS00IiwiYWxnIjoiUlMyNTYifQ.eyJ2ZXIiOjEsImp0aSI6IkFULlVINmdIOF9BcWJ" }'; Map<String, String> ...READ MORE

Mar 3, 2022 in SalesForce by CoolCoder
• 4,360 points
5,214 views
0 votes
1 answer

How do i get all values from a global pick list in salesforce using REST Api?

Since API 39.0 it is possible to ...READ MORE

Mar 17, 2022 in SalesForce by CoolCoder
• 4,360 points
3,098 views
0 votes
1 answer

Salesforce Formula Text Value Based on Custom Field Picklist Value

You should update the fields using the ...READ MORE

Mar 2, 2022 in SalesForce by surbhi
• 3,810 points
3,268 views
0 votes
1 answer

How to add days to date time in Salesforce Apex?

Beware the DST issue! The "addDays" function ...READ MORE

Mar 15, 2022 in SalesForce by CoolCoder
• 4,360 points
2,274 views
0 votes
1 answer

parent-child and child-parent relationships in one query SOQL

Yes, it is possible to do so. In ...READ MORE

Mar 2, 2022 in SalesForce by surbhi
• 3,810 points
2,703 views
0 votes
1 answer

How can I rename my Apex Class name in Salesforce

If you wanted to do it through ...READ MORE

Apr 1, 2022 in SalesForce by CoolCoder
• 4,360 points
1,345 views
0 votes
1 answer

Can we create a record for Event object through lwc in Salesforce?

You can check list of supported obejcts ...READ MORE

Apr 5, 2022 in SalesForce by CoolCoder
• 4,360 points
1,003 views
0 votes
1 answer

Salesforce Apex SingleEmailMessage with Template to User not contact

// Pick a dummy Contact Contact c ...READ MORE

Mar 17, 2022 in SalesForce by CoolCoder
• 4,360 points
1,724 views
0 votes
1 answer

how to create a custom login page in salesforce.com?

Here are a few things to consider: Is ...READ MORE

Apr 6, 2022 in SalesForce by CoolCoder
• 4,360 points
632 views
0 votes
1 answer

Json response to be deserialized in Apex salesforce lightning

Because some fields in Apex are reserved ...READ MORE

Mar 2, 2022 in SalesForce by surbhi
• 3,810 points
2,106 views
0 votes
0 answers

Salesforce Formula Text Value Based on Custom Field Picklist Value

on Cases, I have: Department(picklist values=Ecom, B2B, etc.) ...READ MORE

Apr 8, 2022 in SalesForce by surbhi
• 3,810 points
543 views
0 votes
1 answer

How do I create a scratch org with Salesforce Platfom licenses?

Answer from Salesforce support was to include ...READ MORE

Apr 6, 2022 in SalesForce by CoolCoder
• 4,360 points
440 views
0 votes
0 answers

Exposing the Salesforce Data as an Rest API

how can I expose the Sales force data ...READ MORE

Apr 8, 2022 in SalesForce by surbhi
• 3,810 points
370 views
0 votes
0 answers

Can we add trigger on a Queue

I want to add a run a ...READ MORE

Apr 11, 2022 in SalesForce by surbhi
• 3,810 points
241 views
0 votes
0 answers

translation based on quote language in conga templates salesforce

I have a requirement to translate quote ...READ MORE

Apr 11, 2022 in SalesForce by surbhi
• 3,810 points
225 views
0 votes
0 answers

Can Salesforce Shield Encryption encrypt data IN TRANSIT (or only at rest)?

Is Salesforce Shield Encryption solution encrypting data ...READ MORE

Apr 11, 2022 in SalesForce by surbhi
• 3,810 points
219 views
0 votes
0 answers
0 votes
1 answer

How to Update RecordTypeId field in Lightning record form in salesforce?

A critical action that messes everything up ...READ MORE

Mar 3, 2022 in SalesForce by CoolCoder
• 4,360 points
1,812 views
0 votes
0 answers

Salesforce Junction Objects

I have my contacts and a custom ...READ MORE

Apr 11, 2022 in SalesForce by surbhi
• 3,810 points
168 views
0 votes
1 answer

Upsert fields must be defined as unique External ID fields in Salesforce - Heroku Connect

You can use either the Salesforce record ...READ MORE

Apr 6, 2022 in SalesForce by CoolCoder
• 4,360 points
321 views
0 votes
0 answers

Salesforce lwc - wire adaptor not able to have declared track variables as arguments

0 I am trying to pull in picklist ...READ MORE

Apr 8, 2022 in SalesForce by surbhi
• 3,810 points
243 views
0 votes
1 answer

Get Tailwindcss in Salesforce org

You must to get the tailwind css ...READ MORE

Apr 6, 2022 in SalesForce by CoolCoder
• 4,360 points
289 views
0 votes
1 answer

Is there any REST service available in Salesforce to Convert Leads into Accounts?

Yes and we resolved this by creating ...READ MORE

Apr 5, 2022 in SalesForce by CoolCoder
• 4,360 points
393 views
0 votes
0 answers

Salesforce.com: UNABLE_TO_LOCK_ROW, unable to obtain exclusive access to this record

0 In our production org, we have a ...READ MORE

Mar 17, 2022 in SalesForce by surbhi
• 3,810 points
1,118 views
0 votes
0 answers

Salesforce Apex SingleEmailMessage with Template to User not contact

Im trying to send an email in ...READ MORE

Feb 28, 2022 in SalesForce by surbhi
• 3,810 points
1,840 views
0 votes
0 answers

Salesforce Scheduled Apex Class - Method doesn't exist

I'm attempting to create an apex class ...READ MORE

Apr 5, 2022 in SalesForce by surbhi
• 3,810 points
282 views
0 votes
0 answers

Salesforce API: How to identify a Case from an email reference code ("[Ref: ... :Ref]")?

1 I'm writing a Windows service that will ...READ MORE

Apr 5, 2022 in SalesForce by surbhi
• 3,810 points
266 views
0 votes
1 answer

how to find the difference between sandbox and production in salesforce

It could be a validation rule or ...READ MORE

Apr 1, 2022 in SalesForce by CoolCoder
• 4,360 points
461 views
0 votes
1 answer

Cross object formula in salesforce

I'm not sure what you're looking for. ...READ MORE

Apr 6, 2022 in SalesForce by CoolCoder
• 4,360 points
183 views
0 votes
1 answer

salesforce how to login with javascript without security token

OAuth2 is a security protocol that allows ...READ MORE

Apr 1, 2022 in SalesForce by CoolCoder
• 4,360 points
427 views
0 votes
1 answer

Salesforce - trigger auto-response rule after creating case through API

Less complexity, on the other hand, generally ...READ MORE

Apr 1, 2022 in SalesForce by CoolCoder
• 4,360 points
426 views
0 votes
0 answers

Salesforce Junction Objects

I'm looking for some help from all ...READ MORE

Apr 8, 2022 in SalesForce by surbhi
• 3,810 points
80 views
0 votes
1 answer
0 votes
1 answer

How to create Web to Lead in Salesforce

You have a couple of options: You can ...READ MORE

Apr 6, 2022 in SalesForce by CoolCoder
• 4,360 points
134 views
0 votes
1 answer

Salesforce Scheduled Apex Class - Method doesn't exist

Please pass the parameter in the function ...READ MORE

Apr 6, 2022 in SalesForce by CoolCoder
• 4,360 points
117 views
0 votes
1 answer

sharing rules on case object in salesforce

Is it possible for the user to ...READ MORE

Apr 5, 2022 in SalesForce by CoolCoder
• 4,360 points
200 views
0 votes
0 answers

Upsert Bulk vs Batch Upsert in Salesforce

I'm attempting to import a significant amount ...READ MORE

Apr 5, 2022 in SalesForce by surbhi
• 3,810 points
137 views
0 votes
1 answer

Environment variable as custom metadata type in Salesforce

What's the name of the external service ...READ MORE

Apr 1, 2022 in SalesForce by CoolCoder
• 4,360 points
328 views
0 votes
1 answer

how to do healthcheck on salesforce

I don't do it programmaticly, but I ...READ MORE

Apr 5, 2022 in SalesForce by CoolCoder
• 4,360 points
149 views
0 votes
1 answer

Salesforce Master-Detail Relationship

You can't modify the Master Detail relationship's ...READ MORE

Apr 1, 2022 in SalesForce by CoolCoder
• 4,360 points
235 views
0 votes
1 answer

Salesforce Apex/JSON serialization with change on variable name

Apex does not support annotation for serialization. But, ...READ MORE

Mar 2, 2022 in SalesForce by surbhi
• 3,810 points
1,468 views
0 votes
1 answer

Salesforce Lightning Component

This may be because You have not added ...READ MORE

Apr 1, 2022 in SalesForce by CoolCoder
• 4,360 points
191 views
0 votes
1 answer

How to use Database.Statful in batch apex

Move your insert to the finish method: global ...READ MORE

Mar 17, 2022 in SalesForce by CoolCoder
• 4,360 points
745 views
0 votes
0 answers

Salesforce Batch Governor Limit

I am running the following batch and ...READ MORE

Apr 1, 2022 in SalesForce by surbhi
• 3,810 points
97 views
0 votes
1 answer

Invocablemethod Not Creating Records in Apex Class

According to the documentation (developer.salesforce.com/docs/atlas.en-us.apexcode.meta/...), each class ...READ MORE

Mar 29, 2022 in SalesForce by CoolCoder
• 4,360 points
175 views
0 votes
1 answer

Salesforce: SOSL with CONTAINS

Unlike SOQL, which uses the LIKE comparison ...READ MORE

Mar 29, 2022 in SalesForce by CoolCoder
• 4,360 points
166 views
0 votes
0 answers

How to Write the Test class for Salesforce Apex Aura Enabled class?

stuck in here to write a test ...READ MORE

Mar 15, 2022 in SalesForce by surbhi
• 3,810 points
779 views
0 votes
0 answers

How to find the difference between sandbox and production in salesforce

I have some action that if I ...READ MORE

Mar 30, 2022 in SalesForce by surbhi
• 3,810 points
132 views