Open URL

The Open URL action allows you to open a specified web URL either inside the app or in an external browser. This enables linking to external resources, websites, or other web-based content from your app.

Use Cases

  • Opening a product page or help article.

  • Linking to social media or external marketing pages.

  • Navigating to external documentation or support portals.

Properties

Property
Description

url

(Required) The web address (URL) to open. Must be a valid URL format.

launchMode

Optional mode controlling how the URL is opened (e.g., in-app webview, external browser).

Default Behavior

  • The URL is opened when the action is triggered.

  • If no launchMode is specified, the default behavior depends on platform defaults (typically opening in an external browser).

  • Validation ensures the URL is valid before attempting to open it.

How to Use

  1. Attach the action to a widget (e.g., button onClick).

  2. Select Open URL from the action list.

  3. Enter a valid URL in the url property.

  4. Optionally configure launchMode to control how the URL opens.

Last updated