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
AmbigaRamAmbigaRam 

Please Help for map issue

Hi,

 

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.,

Ambiga.R

Tim BarsottiTim Barsotti

I believe you are looking for the sobject methods such as getDescribe. Here is some information around those methods: http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_methods_system_sobject_describe.htm

 

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