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 element settings panel, you can use this method to get information on the resource this App was initiated by.
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.
This example is for an App written in React. This code would be placed on the editForms page of the App