Get Launch Context
webflow.getLaunchContext()
The getLaunchContext
API helps you understand how your Designer Extension was launched and provides contextual information about the launching element.
Use this method on initial load to identify how the extension was launched and provide context about the launching element. The App can use this information to show a customized UI or behavior to manage the element from where it was launched.
Launch Types
Your extension can be launched in three ways:
- Apps Panel - Launched directly from the Webflow Designer’s Apps Panel
- App Connection - Launched through an existing App Connection
- App Intent - Launched with a specific intent (e.g., to create/manage a form or image)
Syntax
Returns
A Promise that resolves to a LaunchContext
object or null.
LaunchContext
An object with the following properties:
-
type:
'AppConnection' | 'AppIntent' | 'AppsPanel'
Indicates how the extension was launched. -
value:
null | string | Record<'form' | 'image', 'create' | 'manage'>
Additional context about the launch:null
- For basic App Panel launchesstring
- For deep links or custom values- Object with form/image context - For specific creation or management intents
Example LaunchContext: