Using openURL Client API Reference to open the web URL –
We will use the openURL client API to open the web URL from an entity form.
Xrm.Navigation.openUrl(url,openUrlOptions)Opens a URL, including file URLs. This method is especially helpful for mobile clients to open a URL in a browser outside of shim.
Below are the details of parameters required by the client API.
|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.
Validate the output in Dynamics 365 –
Once the above code has been configured and deployed, verify whether the web URL gets open in a new browser tab as expected.