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

  • How to get a list of sObjects and their fields in APEX in Salesforce ?

  • Kirandeep

    Member
    June 30, 2020 at 2:58 pm

    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 .

Viewing 1 - 4 of 4 posts

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos