Skip to main content
답변 2개
  1. 2019년 3월 5일 오전 2:50
    Hi Ankit,

    Here is the way to get the list of Sobjects

    list<schema.sObjectType> allObjects = Schema.getGlobalDescribe().Values();

    example -- try executing the below code in the developer console and look for debug.

    for(Schema.SObjectType objTyp : Schema.getGlobalDescribe().Values()){

        system.debug('****-->'+ objTyp.getDescribe().getLabel());

    }    

    Thanks,

    Govindaraj.S
0/9000