Activity Forums Salesforce® Discussions What is Salesforce Dynamic Apex?

  • shariq

    Member
    September 22, 2018 at 10:37 pm

    Dynamic Apex enables developers to create more flexible applications by providing them with the ability to “Access sObject and field describe information”, “Write Dynamic SOQL Queries”, “Write Dynamic SOSL Queries” and “Dynamic DML”.

  • Parul

    Member
    September 23, 2018 at 3:37 am

    Map<String,Schema.SobjectType> gd = Schema.getGlobalDescribe();

    We can also use schemaDescribe()  to create tree structure of all the objects and fields in the schema browser, to do this we need to use the codemap

    Map<String,Schema.SobjectType> gd = Schema.getGlobalDescribe();

    Returns map of all Sobjects names or Keys to sObject tokens or values for the standard and custom objects defined in the organization.

  • Avnish Yadav

    Member
    September 30, 2018 at 4:47 am

    Hello

    Dynamic Apex enables developers to create more flexible applications by providing them with the ability to:    Access sObject and field describe information

    Describe information provides metadata information about sObject and field properties. For example, the describe information for an sObject includes whether that type of sObject supports operations like create or undelete, the sObject's name and label, the sObject's fields and child objects, and so on. The describe information for a field includes whether the field has a default value, whether it is a calculated field, the type of the field, and so on.

    Thanks.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos