SALESFORCE Salesforce Configuration Salesforce.com

How to check the custom field as External ID and Unique field using apex class

How to check the custom field as External ID and Unique field using apex class its achievable with the help of DescribeFieldResults on each Salesforce Objects, below is the sample code for your reference: Schema.DescribeFieldResult Acc = Account.Account_Number__c.getDescribe(); System.debug(Acc.isExternalID());  //…

Read More