New answers tagged

0 votes
Accepted

Custom API Integration Won't Work For All Salesforce Editions?

Yes , as per the docs API access is not provided for below editions : Group Edition Essentials Edition Professional Edition (can be purchased as an add-on) Reference : https://help.salesforce.com/s/...
  • 949
1 vote

When is the External Service Scan required in Salesforce Security Review?

As per my understanding, even though you have unidirectional integration , it would require scan report of the external system. For reference , the below link shows the required documents for ...
  • 949
0 votes

Using Azure as Auth. Provider with Named Credential

You can currently use the new named credential type for this. It's not perfect, you still have to do the token callout manually, but it protects your credentials much better than custom metadata/...
0 votes
Accepted

How to put values (to be JSON serialised) in an inner class which has an array

Your issue is here: public class SapData{ //Inner class with an array variable String BusinessPartnerCategory; String OrganizationName; String TestHardCode; ListClass[] Address; } ...
  • 66.7k
2 votes
Accepted

How can I find out where the value of this field is set?

If it is not listed on the "where is this used?" page, then it means that it is used in a component you won't have access to, like on that flow. Flows that are part of managed packages are ...
1 vote
Accepted

How do I set a dynamic body JSON format which should contain object data (like values of fields in Contact object)

An easy way to do this in Apex is to create a custom apexType class SapData { String BusinessPartnerCategory; String OrganizationName; SapAddress[] to_businessPartnerAddress; } class SapAddress ...
  • 66.7k
0 votes

Authorize Salesforce without Username and password

You can remove the client_secret, client_secret and all other data from pram tab and add them to body tab like below: const options = { method: 'POST', url: 'https://login.salesforce.com/...
0 votes

Authorize Salesforce without Username and password

For integrations, never use username + password. Use the "JWT Bearer Flow" Oauth. It's not standard OAuth, Salesforce co-authored a separate specification for it. It's outlined here https://...
  • 1,300
0 votes

Marketing Cloud Available entities to Synchronized is empty, are there any certain permission sets to be given in crm side

Try this: Hover over your name on the top right of the Marketing Cloud and select "Setup" from the Settings drop down. Search for Salesforce Integration in the Quick Find search box or ...
  • 13.7k
0 votes

Getting error for Test class for Batch apex callout (Batch chaining)

You have several things you can do to improve test quality: For an end-to-end test of Batch A Your test for batch A should assert that an AsyncApexJob was created for Batch B. This is the best you ...
  • 66.7k
0 votes

Getting error for Test class for Batch apex callout (Batch chaining)

I'm assuming the issue is because test classes don't support chaining - so Batch B never gets called. The way I usually handle that scenario would be to add a check to Batch A finish to see if this is ...

Top 50 recent answers are included