openUrl

Opens a url, including file urls.

Available for

Model-driven and canvas apps

Syntax

context.navigation.openUrl(url, options)

Parameters

Parameter Name Type Required Description
url string Yes Url to be opened.
options OpenUrlOptions No Options to open the URL. The OpenUrlOptions has the following parameters:
- height: Number. Height of the window to display the resultant page in pixels.
- width: Number. Width of the window to display the resultant page in pixels.

Navigation
Power Apps component framework API reference
Power Apps component framework overview