How to setup Named Credential in Salesforce for Microsoft?
To setup Named Credential in Salesforce for Microsoft, get the Client Id, Client Secret and Tenant Id from the Azure Portal. Note: Tenant Id should be used in the Auth. ....
To setup Named Credential in Salesforce for Microsoft, get the Client Id, Client Secret and Tenant Id from the Azure Portal. Note: Tenant Id should be used in the Auth. ....
A simple Quick Action can be used to create Child Case using Parent Case information in Salesforce. 1. Create a Quick Action. Note: Add the Predefined Field Values. 2. Add ....
If you are using batch class, then make sure to implement "Database.AllowsCallouts".Sample Code:global class BatchClass implements Database.Batchable<sObject>, Database.AllowsCallouts
1. Create required Queues and add users to it. 2. Create an Omni-Channel Flow. 3. Create a Record-Triggered Flow. Call the Omni Flow using Sub Flow component. When the Case ....
Execute the following apex in Anonymous Apex Execute Window in Developer Console. Sample Code: String strURL = URL.getOrgDomainUrl(); strURL += '/secur/frontdoor.jsp?sid=' + UserInfo.getSessionId().SubString(15); System.debug( 'URL: ' +strURL ); Use the ....
Sample Trigger:trigger AccountTrigger on Account ( before insert, before update ) { for ( Account objAcc : trigger.new ) { if ( String.isNotBlank( objAcc.Description ) ....
To build Salesforce Orchestration, check the following: Sample Flow Orchestrator: Scenario: When an Account record is created. Stage 1: 1. Update the Case Description to Stage 1. 2. Wait for the ....
Sample Code: Apex Class: public with sharing class ContactController { @AuraEnabled( cacheable=true ) public static List < Contact > fetchContacts(){ return [ SELECT Id, Name, ....
SOQLs: SOQL to find users part of the Permission Set:SELECT Assignee.Name FROM PermissionSetAssignment WHERE PermissionSetId = '0PS8c000003LCCL' SOQL to find users part of the Permission Group :SELECT Assignee.Name FROM PermissionSetAssignment WHERE PermissionSetGroupId ....
To avoid showing Nickname in the Experience Cloud Site, disable Show Nicknames in the Experience Cloud Site Administration.1. Click Workspace from the Experience Cloud Site in All Sites in Setup.2. ....