openWebResource

Opens a HTML web resource.

Available for

Model-driven apps

Syntax

context.navigation.openWebResource(name, options, data)

Parameters

Parameter Name Type Required Description
name String Yes The name of the HTML web resource to open.
options OpenWebResourceOptions No Window options for opening the web resource. The OpenWebResourceOptions has the following attributes:
- 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.
- openInNewWindow: Boolean. Indicates whether to open the web resource in a new window.
data String No Data to be passed into the data parameter.

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