openUrl (Client API reference)

Applies to Dynamics 365 (online), version 9.x

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 attributes:
- 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