function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
risharisha 

what is the need of DescribeFieldResult

can anyone tell the purpose of DescribeFieldResult ?

Ashish_SFDCAshish_SFDC

Hi Risha, 

 

Its like calling Meta data Object Dynamically. 

 

Get the field describe result for the Name field on the Account object
Schema.DescribeFieldResult f = Schema.sObjectType.Account.fields.Name;

Regards,

Ashish