Activity Forums Salesforce® Discussions How to get a list of sObjects and their fields in APEX in Salesforce ?

  • Ratnesh

    Member
    July 1, 2020 at 5:10 am

    APEX Code. In this code, we have used the schema class to get the list of sObjects and fields in APEX. This list is later displayed with the help of Map and SelectOptions in the next set of code snippet. The schema class has the getGlobalDescribe() method which help us to get the schema of our entire salesforce org

  • Pooja

    Member
    July 1, 2020 at 6:09 am

    APEX Code. In this code, we have used the schema class to get the list of sObjects and fields in APEX.

  • Ayush

    Member
    July 1, 2020 at 1:08 pm

    schema class .

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos