Xrm.Page namespace

In Microsoft Dynamics CRM 4.0, we used the crmForm object to gain access to the form fields. The crmForm object is deprecated in Microsoft Dynamics CRM 2011. In this version of CRM, a new object model is introduced for form programming, which adds the following capabilities:

  • Showing and hiding user interface elements
  • Supporting multiple controls per attribute
  • Supporting multiple forms per entity
  • Manipulating form navigation items

Xrm.Page namespace is a container for three objects: Context, Data, and UI. The Context object provides methods to retrieve information specific to an organization, a user, or parameters that were passed to the form in a query string. The Data object provides access to the entity data. The UI object contains methods to retrieve information about the user interface, in addition to collections for several sub-components of the form. The following diagram shows the Xrm.Page namespace and the objects contained in this namespace:

Xrm.Page namespace
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset