Skip to main content

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?

Answering my own question for documentation's sake:

canvas: {

stored_data: {

"email": email

},

content: {

components: [

listingText,

{

type: "list",

items: retVar

}

],

},

},

 


Reply