Is there an example of where "stored_data" is supposed to go? | Community
Skip to main content
Answered

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

  • March 21, 2022
  • 1 reply
  • 31 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?

Best answer by Chris C13

Answering my own question for documentation's sake:

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

 

1 reply

  • Author
  • Connector
  • 9 replies
  • Answer
  • March 22, 2022

Answering my own question for documentation's sake:

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