“A picture is worth a thousand words.“
As the above picture shows in CRM Xrm.Page acts as a namespace container for all other objects.
- context: provides methods related to the context in which the code is executed, like the user, organization, language, parameters passed through the query string and so on.
- data: provides access to the entity data and methods to manage the data in the form.
- ui: provides methods related to the user interface, in addition to collections for several sub components of the form.