Posts

Showing posts from May, 2014

Xrm.Utility Functions

Xrm.Utility Reference The Xrm.Utility object provides a container for useful functions not directly related to the current page. These functions are available in every application page that supports scripting. You can use them in form scripts or in ribbon commands. For HTML web resources, they are available when you include the ClientGlobalContext.js.aspx page. For more information, see   ClientGlobalContext.js.aspx . Functions The following table lists the functions of Xrm.Utility. Function Description openEntityForm Opens an entity form. openWebResource Opens an HTML web resource. openEntityForm Opens an entity form. Xrm.Utility.openEntityForm(name,id,parameters) Parameters ·          name Type : String Required : The logical name of an entity. ·          id Type : String Optional : The string representation of a unique identifier or the record to open in the form. If not set, a form to create a new re