STRING_TOO_LONG “data value too large” Exception in Salesforce
STRING_TOO_LONG "data value too large" Exception in Salesforce occurs due to populating a field with more than its maximum length. For example, if a field length is set to 255 ....
STRING_TOO_LONG "data value too large" Exception in Salesforce occurs due to populating a field with more than its maximum length. For example, if a field length is set to 255 ....
Salesforce Pre-Chat info will be stored in ConversationContextEntry entity when the chat is initiated. So, we can query the ConversationContextEntry entity. To initiate Salesforce Chat via REST API, please check the ....
When you enable the first Salesforce external user on a Partner Account record, a user Role Hierarchy gets created for that Account record. The new role hierarchy rolls up to ....
In the following sample code, I have searched Date data type fields in Account, Lead and Opportunity objects. Sample Code: Set < String > listsObjs = new Set < String ....
To remove or adjust fields in Add Contact Roles in Salesforce, update the Search Layout in the Contact Object. The fields from the Contact Search Layout is used in the ....
To give Agents ability to see other Agents status without using Omni-Supervisor in Salesforce, report on User Presence entity can be used. 1. Create a Custom Report Type on User ....
Starting Summer '22 Release, Omni-Channel notification audio can be customised in the Presence Configuration Audio Settings Sections. Check the following steps for adjusting the Omni-Channel notification audio. 1. Create a ....
Trigger.isExecuting can be used to find whether apex is currently executed in Trigger Context in Salesforce. Sample Code: System.debug( 'Is it in trigger context ' + Trigger.isExecuting ); Output: https://youtu.be/2aRs-zMcSQA
If you get {"success":false,"returnValue":null,"errors":[{"code":"SERVER_ERROR","description":"A problem was encountered on the server."}]} Exception in Salesforce Open CTI, make sure the agent is assigned to a Softphone Layout. 1. Go to Softphone Layouts ....
1. Sample Custom Object. 2. Create Remote Site Settings for API Endpoint. 3. Sample Code to override the Standard New button in the custom object. Apex Class: public class CreateCustomerRecord ....