Usage of Xrm.Page Library RRS feed

  • Question

  • I am making an external application which is required to open an existing entity record form in a browser window. I am using Xrm.page reference library to achieve this task, but I don't want to upload this JS script as a web resource on Dynamics CRM, I want to use it in another dot.net application.

    This application will be running outside CRM (although it will be communicating with CRM), now my question is that :

    Is it ok to use XRM.Page Reference Library in this way, or there is something wrong with this idea?

    kindly clear the confusion.


    • Edited by Absaar Friday, August 23, 2013 11:17 AM Now even better
    Friday, August 23, 2013 11:11 AM

All replies

  • Xrm.Page Reference

    The Xrm.Page object is available to JScript functions for form events and in JScript functions called by ribbon commands. However, Xrm.Page.data and Xrm.Page.ui only exist in the context of an entity form. You can use the functions available within Xrm.Page.context when writing scripts to be available for ribbon commands that do not occur within an entity form ribbon.

    Jason Lattimer
    My Blog -  Follow me on Twitter -  LinkedIn

    Friday, August 23, 2013 11:45 AM