How to find day of the week using Salesforce Apex?
formatGMT( 'EEEE' ) can be used to return the week using Salesforce Apex. Sample Code: String strDate = '2022-12-16'; Date dateValue = Date.valueOf( strDate ); System.debug( 'dateValue is ' + ....
formatGMT( 'EEEE' ) can be used to return the week using Salesforce Apex. Sample Code: String strDate = '2022-12-16'; Date dateValue = Date.valueOf( strDate ); System.debug( 'dateValue is ' + ....
1. Go to App Manager in Salesforce Setup. 2. Find the Connected App used for Service Cloud Voice and select the Manage option. 3. Update the Custom Attributes for https://aws.amazon.com/SAML/Attributes/RoleSessionName. ....
In Amazon DynamoDB, Date Time value will be stored as String. When the record is created in Salesforce, DynamoDB will have the value in GMT/UTC. When the record is created ....
To Embed Flow in Salesforce Lightning Web Component, lightning-flow tag can be used. Check the following sample Lightning Web Component and Flow for reference. Sample Flow: Salesforce Flow Welcome Screen Configuration: ....
Partition Key Primary key for the table. Should be unique if Sort Key is not used. Sort Key Secondary Primary key for the table. Used for Composite key when used. ....
Qualifiers an be used parse or transform data returned from the Amazon DynamoDB. Using the following External Object Qualifier, Sample_Qualifier_Field value will be automatically populated. As per the definition, it ....
Quick Connects should be setup in the Amazon Connect to transfer Salesforce Voice Calls. When the agents tries to transfer the Voice Call, it will pull the agents setup as ....
Database.insertImmediate() method can be used to create External Object record synchronously using Apex. Sample Code: Test__x objTest = new Test__x(); objTest.PK__c = '3'; objTest.SK__c = 'Test3'; objTest.Name__c = 'Test3'; Database.SaveResult ....
1. Open DynamoDB in Amazon AWS Console. Click "Create Table". 2. Enter Table Name and Partition Key. Note: AmazonDynamoDBFullAccess Permission should be granted for the User to be used in ....
Using custom Lightning Web Component as Pre-Chat page, we can make Pre-Chat fields autopopulate and not editable in Experience Cloud Site. Sample Lightning Web Component: HTML: <template> <lightning-card title="Pre-Chat Form"> ....