openUrl (Client API reference)

Opens a URL, including file URLs.

Syntax

Xrm.Navigation.openUrl(url,openUrlOptions)

Parameters

Name Type Required Description
url String Yes URL to open.
openUrlOptions Object No Options to open the URL.The object contains the following values:
- height: (Optional) Number. Height of the window to display the resultant page in pixels.
- width: (Optional) Number. Width of the window to display the resultant page in pixels.

Remarks

This method is especially helpful for mobile clients to open a URL in a browser outside of shim.

Xrm.Navigation