How to join list of strings with a separator using Apex in Salesforce?
String.join() method can be used to join list of strings with a separator using Apex in Salesforce. Sample Code: List < String > strList = new List < String > { ....
String.join() method can be used to join list of strings with a separator using Apex in Salesforce. Sample Code: List < String > strList = new List < String > { ....
In order to make sure Service Resource is showing in the Field Service tab in Salesorce Field Service Lightning, add the Service Resource as Primary Member to a Service Territory.
Package.xml: <types> <members>ObjectAPIName.FieldSetAPIName</members> <name>FieldSet</name> </types>
In the below example, if the account type is Customer - Direct and if the user tries to update any fields other than Industry and Description, it will throw an ....
Sample Code: Lightning Component: <aura:component implements = "force:appHostable"> <aura:attribute name="myVal" type="String" /> <div class="slds-box slds-theme_default"> <lightning:inputRichText value = "{!v.myVal}"/> <lightning:button variant = "brand" label = "Show" onclick = "{! c.handleClick }"/> </div> </aura:component> Lightning Component Controller: ({ handleClick : function(component, event, helper) { var tempVal = component.get("v.myVal"); var tempDivElement = document.createElement("div"); tempDivElement.innerHTML = tempVal; alert( "With HTML Tags " + tempVal ); tempVal = tempDivElement.textContent; alert( "Without HTML Tags " + tempVal ); ....
When a query has to return more data, Salesforce uses Query Locators. In order to understand more about this, check the following link:http://www.infallibletechie.com/2018/10/what-is-query-locator-in-salesforce.html Reasons may be following for the exception1. ....
This is Standard Salesforce functionality. By default, Salesforce allows you to add the name which starts with Account Name -. So that user can edit that name and use some ....
To know about Change Data Capture, check the below link https://infallibletechie.com/2019/05/change-data-capture-in-salesforce.html Salesforce Change Data Capture: MuleSoft Flow: Subscribe Channel Configuration: Transform Message Configuration: Logger Configuration: Output:
A CDC event, or change event, is a notification that Salesforce sends when a change to a Salesforce record occurs as part of a create, update, delete, or undelete operation. ....
Trigger runs in System mode. If triggers calls an apex class with sharing keyword, then record level access will be considered.Validation Rule runs in System mode. Auto Response Rule runs ....