How to check strings equal or not using apex in Salesforce?
1. equals() Returns true if they are same and not null. 2. equalsIgnoreCase() Returns true if they are same ignoring Case(Upper or Lower Case) and not null. Sample Code: String ....
1. equals() Returns true if they are same and not null. 2. equalsIgnoreCase() Returns true if they are same ignoring Case(Upper or Lower Case) and not null. Sample Code: String ....
<iframe> tag can be used to show Visualforce page inside a Lightning Web Component in Salesforce. Check the following sample implementation for reference. Sample Code: Visualforce: <apex:page > Record Id from ....
Note: 1. Digital Engagement license is required to use this feature. 2. SMS Channel should be setup in the org. Follow the below link for setting up. https://www.infallibletechie.com/2020/12/sms-channel-setup-in-digital-engagement.html Follow the ....
In the below example Notification will be sent to the Account owner when the file is attached to their Account records. Notification Type in Setup: Sample Code: trigger ContentDocumentLinkTrigger on ....
Sample Code: Component: <aura:component implements="force:appHostable" > <aura:attribute name = "defaultVal" type = "String"/> <aura:attribute name = "options" type = "List" default = "[ {'label': 'Apple', 'value': 'apple'}, {'label': 'Banana', 'value': ....
embedded_svc.settings.language should be adjusted to display the Chat in the specified language.For example, embedded_svc.settings.language = 'fr' will display the information in French. Supported Languages - https://help.salesforce.com/articleView?id=faq_getstart_what_languages_does.htm&type=5
Sample Code: Apex Class: public with sharing class AccountController { @AuraEnabled( cacheable = true ) public static AccountWrapper fetchAccounts() { AccountWrapper wrap = new ....
1. Join the Release Readiness Trailblazers Chatter Group.https://trailblazers.salesforce.com/_ui/core/chatter/groups/GroupProfilePage?g=0F9300000001oku 2. Create a Pre-Release org to check the new features. 3. Check the Salesforce Release Notes which are published few months ago ....
Total amount of time in seconds in which an agent’s queue was full.This field would capture the value of the time (seconds) the agent is at full capacity which is ....
LWC: HTML: <template> <div class="slds-box slds-theme--default"> <template if:true = {records}> <div style = "height: 300px;"> <table class="slds-table slds-table_cell-buffer slds-table_bordered slds-table_striped"> <tr> <th scope ....