Current User Id check in Salesforce Validation Rule
$User.Id can be used in Salesforce Validation Rules for the current running user ID. Sample Validation Rule: AND( ISNEW(), $User.Id != Account.OwnerId ) Output: https://youtu.be/Kbl5dSznLSo
$User.Id can be used in Salesforce Validation Rules for the current running user ID. Sample Validation Rule: AND( ISNEW(), $User.Id != Account.OwnerId ) Output: https://youtu.be/Kbl5dSznLSo
Salesforce Chats can be ended by Agents BOTs Visitors embedded_svc.addEventHandler() can be used for listening onChatEndedByChasitor, onChatEndedByAgent and onChatEndedByChatbot events. Sample Code: embedded_svc.addEventHandler( "onChatEndedByChasitor", function( data ) { console.log( 'Chat was ended ....
sforce.opencti.saveLog() and sforce.opencti.screenPop() methods can be used to create and open Case record in Salesforce using Open CTI. Sample Code: sforce.opencti.saveLog( { value: { entityApiName : "Case", Subject : "Testing", ....
In Salesforce SOQL Query, NOT() and IN() are distinct methods employed. It's important to note, however, that Salesforce SOQL Query does not utilise a direct NOT IN() function. By tactfully integrating ....
Self-Signed Certificate: A self-signed certificate generated from the Setup is signed by Salesforce. Process is very simple and straight forward. With just few clicks, the certificate will be generated and ....
lightning-progress-indicator can be used in Salesforce Lightning Web Componet to give a visual indication on the progress of a particular process. Sample Code: Lightning Web Component: HTML: <template> <lightning-card> <div ....
lightning-record-picker can be used in Salesforce Lightning Web Component for record selection. Sample Lightning Web Component: HTML: <template> <lightning-card> <div class="slds-var-p-around_medium"> <lightning-record-picker label="Accounts" placeholder="Search Accounts" object-api-name="Account" onchange={handleChange}> </lightning-record-picker> <template if:true={selectedAccountId}> ....
Using Salesforce Big Object and Batch Apex, we can archive the records regularly. 1. Make a note of your Object Fields for the Big Object creation. 2. Create a Big ....
Exception: There was an error saving the page: PropertyType cannot be specified for flexipages of type UTILITY_BAR Resolution: 1. If you are using a Salesforce Lightning Web Component, make sure ....
To remove Salesforce User Sessions, please check the following steps: 1. Go to Session Management in Salesforce Setup. 2. Select the Active Sessions from the list and click the Remove ....