Accessing forms and controls using client-side code

In order to work with the client object model, first we need to understand the Xrm.Page object model. The Xrm.Page object is used to interact with forms and related controls. It is a top hierarchal object that has three namespaces:

  • Context
  • Data
  • UI

The following namespaces provide different methods that we can use to manipulate data at different levels.

Accessing forms and controls using client-side code

Image source: msdn.microsoft.com

Context namespaces

Context namespaces provide different methods to access client-side contexts. These methods help us to get different contextual information related to the organization, user, client, and other details. ...

Get Microsoft Dynamics CRM 2015 Application Design now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.