James Derulo's

Portfolio

Utility Class | How to get all fields for sObject record | Code to custom clone a Salesforce Object

Leave a Comment
While working for designing a custom clone button for Salesforce Account, I wrote a simple classes that read the id of current user page and pass on objects and fields . I thought of sharing this piece of information for the people looking for similar code base


Utility class to get all fields of sObjects 

How to Utilize this method

I use this method to parse the Salesforce Id of the Account, this method can be used in multiple capacities to pull any field you need for the implementation

In the code below, I am looking for Id of the page and using this Id to create a custom clone account


Happy Coding
Next PostNewer Post Previous PostOlder Post Home

0 comments:

Post a Comment