Wednesday, 16 October 2013

Simplifying the way to understand Dynamic Apex in Salesforce: Part - 1

From the very beginning, Dynamic Apex had been difficult for me to understand. This time I thought of going slowly through it and thereby finding a simple way to understand its basic implementation first.
Since I do this now, it's worth sharing here. 

Dynamic Apex implementation in Salesforce focuses on four major areas:

  • Apex Describe Information
  • Dynamic SOQL
  • Dynamic SOSL
  • Dynamic DML

Image1: Showing different attributes constituting the Apex Describe Information




Image2: Showing two different ways to access token for sObject and Field separately





Image3: Showing two different ways to access Describe Result for sObject and Field separately



No comments:

Post a Comment

Thank you for visiting. Your comments are highly appreciated.