External Services in Salesforce
External Services is a feature within Salesforce that leverages declarative tools to connect to an external endpoint, such as a credit service provider, and bring its logic into Salesforce. Go ....
External Services is a feature within Salesforce that leverages declarative tools to connect to an external endpoint, such as a credit service provider, and bring its logic into Salesforce. Go ....
ApexLogRepresents a debug log containing information about a transaction, including information about Apex, Visualforce, and workflow and validation rules. 1. Run the following SOQL Query in Developer Console using Query ....
Custom Metadata Type: Custom Metadata Type Data: Sample Apex class and test class: public class Sample { public static Sample__mdt getSampleValue( String strName ) { return [ SELECT DeveloperName, Description__c ....
Sample Code: Set < String > listsObjs = new Set < String > {'Account', 'Lead'}; Map<String, Schema.SObjectType > globalDescription = Schema.getGlobalDescribe(); for ( String obj : listsObjs ) { Schema.sObjectType objType = globalDescription.get( obj ); Schema.DescribeSObjectResult r1 = objType.getDescribe(); Map<String , Schema.SObjectField > mapFieldList = r1.fields.getMap(); for ( Schema.SObjectField field : mapFieldList.values() ) { Schema.DescribeFieldResult fieldResult = field.getDescribe(); String fieldLabel = fieldResult.getLabel().toLowerCase(); Schema.DisplayType fielddataType = fieldResult.getType(); if ( fielddataType == Schema.DisplayType.Phone ) { System.debug( objType + '.' + fieldResult.getName() ); } else if ( fieldLabel.contains( 'phone' ) && ! fieldResult.isCalculated() ) { System.debug ( objType + '.' + fieldResult.getName() ); } } } ....
Regular Data Load: For regular data loading jobs using Salesforce Data Loader, enable "Insert null values" check box to change record values to Blank or NULL. Check the following steps for ....
Sample Code: Set < String > listsObjs = new Set < String > {'Account', 'Lead'}; Map<String, Schema.SObjectType > globalDescription = Schema.getGlobalDescribe(); for ( String obj : listsObjs ) { Schema.sObjectType objType = globalDescription.get( obj ); Schema.DescribeSObjectResult r1 = objType.getDescribe(); Map<String , Schema.SObjectField > mapFieldList = r1.fields.getMap(); for ( Schema.SObjectField field : mapFieldList.values() ) { Schema.DescribeFieldResult fieldResult = field.getDescribe(); String fieldLabel = fieldResult.getLabel().toLowerCase(); Schema.DisplayType fielddataType = fieldResult.getType(); if ( ( fieldLabel.contains( 'address' ) || fieldLabel.contains( 'state' ) || fieldLabel.contains( 'street' ) || fieldLabel.contains( 'city' ) || fieldLabel.contains( 'postal' ) || fieldLabel.contains( 'zip' ) ) && ! fieldResult.isCalculated() ) { System.debug ( objType + '.' + fieldResult.getName() ); } } } In ....
Escape Sequence \n can be used to add new line in Long Text Area field using Apex in Salesforce. Sample Text Area Long Field: Sample Code: trigger AccountTrigger on Account ....
Transaction Security in Salesforce is Available in: Salesforce Classic and Lightning Experience Available in: Enterprise, Performance, Unlimited, and Developer Editions Requires purchasing Salesforce Shield or Salesforce Event Monitoring add-on subscriptions. ....
To disable global search in Salesforce Classic, disable Chatter Settings in the Setup. Please check the following for the steps to do it. 1. Go to Chatter Settings. 2. Disable ....
1. Go to Field Service Settings. 2. Check Enable Field Service Lightning and click Save button. The default value for Search work order fields when suggesting article and Search work order line ....