-
Goal: I want to use data passed from parent to embedded app to set an app variable.
-
Steps:
I have a working embedded app that receives data from the parent as documented here: Embed web apps | Retool Docs.
The data being pass is a simple json object (i.e. {email: "foo@example.com}
) which I the app queries for successfully using the email
as the value of the "Selector" for the parent query.
I've created a "Success Event Handler" that attempts to extract the query.data
and set a variable with it via a "Set variable" action.
This set variable does not work. It appears the query.data
property is empty.
I can see the debug console that shows the data is received by the app (i.e. "Received message from parent [...]".
What am I missing?
Thanks,
-Donnie