Activity Forums Salesforce® Discussions What is Dynamic Apex in Salesforce?

  • Anjali

    Member
    July 27, 2018 at 9:26 am

    Hello Sanjana

    Dynamic Apex enables developers to create more flexible applications by providing them with the ability to:

    • Access sObject and field describe information
    • Access Salesforce app information
    • Write dynamic SOQL queries, dynamic SOSL queries and dynamic DML
  • Parul

    Member
    September 14, 2018 at 6:33 am

    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”.

     

    Thanks.

  • shariq

    Member
    September 14, 2018 at 1:09 pm

    Hi,

    Dynamic Apex enables developers to create more flexible applications by providing them with the ability to:

    Access sObject and field describe informationDescribe 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.

    Note that describe information provides information about objects in an organization, not individual records.
    Access Salesforce app informationYou can obtain describe information for standard and custom apps available in the Salesforce user interface. Each app corresponds to a collection of tabs. Describe information for an app includes the app’s label, namespace, and tabs. Describe information for a tab includes the sObject associated with the tab, tab icons and colors.
    Write dynamic SOQL queries, dynamic SOSL queries and dynamic DMLDynamic SOQL and SOSL queries provide the ability to execute SOQL or SOSL as a string at runtime

    Hope this helps!

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos