getSobject of CreatedBy field Salesforce Apex
Sample code:sObject obj = [ SELECT Id, CreatedBy.Alias, Name FROM Account LIMIT 1 ];system.debug( obj.getSobject( 'CreatedBy' ).get( 'Alias' ) );
Sample code:sObject obj = [ SELECT Id, CreatedBy.Alias, Name FROM Account LIMIT 1 ];system.debug( obj.getSobject( 'CreatedBy' ).get( 'Alias' ) );
1. Automated Invitationa. Small window Pops up in the screen to start the Chat.Automated Invitation Animation Setup:2. Chat Buttona. Doesn't popup.
Salesforce Einstein BOT conversations can be transferred to Queue(Omni-Channel Queues) Another Bot Skills(Skill Based Routing) Note:Once the Bot transfers it, Omni-Channel process kicks in. Help Articles:1. To Queuea. https://help.salesforce.com/articleView?id=000351918&language=en_US&mode=1&type=1b. https://help.salesforce.com/articleView?id=sf.bots_service_transfer_queue.htm&type=5 ....
Sample Code:Visualforce Page:<apex:page controller="SampleVFController"> <apex:form > <apex:commandButton value="Click" action="{!openLightningComponent}"/> </apex:form></apex:page>Apex Class:public class SampleVFController { public PageReference openLightningComponent() { PageReference pg = new PageReference( '/lightning/n/Sample_LWC' ); pg.setRedirect( true ....
Sample Code: Visualforce Page: <apex:page controller="SampleVFController"> <apex:form> <apex:commandButton value="Click" action="{!openLightningComponent}"/> </apex:form> </apex:page> Apex Class: public class SampleVFController { public PageReference openLightningComponent() { ....
To view Page Performance by Browser and Other New Metrics in the Lightning Usage App, check this https://www.infallibletechie.com/2018/11/how-to-view-page-performance-by-browser.htmlSalesforce Help Article - https://help.salesforce.com/articleView?id=000316034&type=1&mode=1Best Practices:1. Avoid doing call out on the page ....
prepopulatedPrechatFields attribute can be used to pre-populate Pre-Chat Form Fields in Salesforce Embedded Service Chat. Sample Code: embedded_svc.settings.prepopulatedPrechatFields = { FirstName: "Magulan", LastName: "Duraipandian", Email: "[email protected]" }; Output: https://youtu.be/iCIb-JN3Z84
1. Create an Account in Heroku - https://api.heroku.com/signup. 2. Install GIT. 3. Install Heroku Toolbelt - https://toolbelt.heroku.com. 4. Clone the below project.https://github.com/forcedotcom/SalesforceCanvasFrameworkSDK 5. Create a folder with the name "SalesforceCanvasFrameworkSDK" ....
1. Create a Lightning Web Component that extends lightningSnapin__ChatMessage. HTML: <template> <div class={messageStyle}> <lightning-formatted-rich-text value={messageContent.value}> </lightning-formatted-rich-text> </div> <template if:true={showPhoneBool}> <div class={messageStyle}> Contact ....
Scratch Org feature in Salesforce helps Source Driven Development. The scratch org is a source-driven and disposable deployment of Salesforce code and metadata components. This feature is made for developers ....