Answered

Is there an example of where "stored_data" is supposed to go?

  • 21 March 2022
  • 1 reply
  • 19 views

I see in the documentation that there something called stored_data as part of a Canvas app for use in passing data from one Canvas to another in an app. However, it is not clear where this piece of data is supposed to go. Is there an example of this? For example:

canvas: {
content: {
components: [
{
"type": "input",
"id": "email",
"label": "Email",
"placeholder": "Enter email to get started...",
"save_state": "unsaved",
"action": {
"type": "submit"
}
}
],
},
}

Where would it go in this example?

icon

Best answer by Chris C13 22 March 2022, 19:55

View original

1 reply

Answering my own question for documentation's sake:

canvas: {
stored_data: {
"email": email
},
content: {
components: [
listingText,
{
type: "list",
items: retVar
}
],
},
},

 

Reply