How to update Case when Email is sent from Case record in Salesforce?
Workflow Rule: Field Update: Output:
Workflow Rule: Field Update: Output:
Dom.XMLNode can be usedto parse XML string in Salesforce using Apex. Sample XML: <?xml version="1.0" encoding="UTF-8"?> <breakfast_menu> <food> <name>Belgian Waffles</name> <price>$5.95</price> <description>Two of our famous Belgian Waffles with plenty of ....
Chatter feed posts and comments are not counted against your data storage limits. File storage includes files in attachments, Files home, Salesforce CRM Content, Chatter files (including user photos), the ....
dateStyle attribute can be used for lightning:input type="date" formatting in Salesforce Aura Component. Check the following code for reference. Sample Code: Component: <aura:component implements = "force:appHostable"> <div class="slds-box slds-theme_default"> <lightning:input name="input1" ....
add( index, value ) can be used to add value to a specific array or list index using apex in Salesforce. Sample code: List < String > strList = new ....
Use un parameter in the URL to set username in the Salesforce login URL. To set Username and Password:Use un and pw URL Parameters. https://login.salesforce.com/?un=test@test.com&pw=Sample1234567890 Login URL: Domain URL:
Related To indicates the record that the task is related to, such as an account or an opportunity. This field is available only when a user relates the task to ....
Sample Code: Apex Class: public class RelatedListController { @AuraEnabled public static RelatedListResult fetchRecs( String recId, String sObjName, String parentFldNam, String strCriteria ) { String strTitle = ' ('; List < sObject > listsObjects = new List < sObject >(); RelatedListResult obj = new RelatedListResult(); String strSOQL = 'SELECT Id FROM ' + sObjName + ' WHERE ' + parentFldNam + ' = '' + recid + '''; if ( String.isNotBlank( strCriteria ) ) strSOQL += ' ' + strCriteria; strSOQL += ' LIMIT 4'; listsObjects = Database.query( strSOQL ); Integer intCount = listsObjects.size(); if ( intCount > 3 ) { List < sObject > tempListsObjects = new List < sObject >(); for ( Integer i = 0; i <3; i++ ) tempListsObjects.add( listsObjects.get( i ) ); obj.listsObject = tempListsObjects; strTitle += '3+'; ....
Sample Code: String str = 'a,b,c,d,e'; system.debug( 'Count is ' + str.split( ',' ).size() ); Output:
In Lightning Experience, each user's Top Results page includes the objects they use the most. For new users or users that have little to no activity in Salesforce for over ....