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

Please Help for map issue



I need to write apex method for mapping the fields in the same custom object.


Can any one help for me this?


Thanks and Regards.,


Tim BarsottiTim Barsotti

I believe you are looking for the sobject methods such as getDescribe. Here is some information around those methods:


You will be able to generate a list of fields using the getDescribe methods.