Friday, November 15, 2019

Calling HTML page from javascript

Calling HTML page from javascript

  • Open an HTML web resource named “new_webResource.htm”:
    Xrm.Navigation.openWebResource("new_webResource.htm");
  • Open an HTML web resource, setting the windowOptions:

    var windowOptions = { openInNewWindow: true, height: 400, width: 400 }
Xrm.Navigation.openWebResource("new_webResource.htm",windowOptions);

Open an HTML web resource including a single item of data for the data parameter

Xrm.Navigation.openWebResource("new_webResource.htm",null,"dataItemValue");

No comments:

Post a Comment