Get Current App Connection Element
webflow.getCurrentAppConnectionResource()
Get the element that triggered the App Connection.
Use the webflow.getCurrentAppConnection()
method to verify the App Launch location. If the App was launched from the Elemen Settings panel, you can use this method to get information on the resource this App was initiated by.
Syntax
Returns
Promise<AppConnectionResource | null
>
A Promise that resolves to the AppConnectionResource of for the App. If there is not a resource associated with the App, then the Promise resolves to `null1.
Example
This example is for an App written in React. This code would be placed on the editForms
page of the App