How to pass a data from app to modal window? | Community
Skip to main content

How to pass a data from app to modal window?

  • December 16, 2021
  • 1 reply
  • 0 views

Vladyslav12

I have an app in a ticket sidebar in which i get some data from an external api. I want to show small amount of this data in ticket sidebar and full version of the data in modal window. Is there any way to pass this data from this app to modal?

1 reply

  • December 17, 2021
Hey Phil!
 
Thank you for posting your question to the Community! We actually have a really great article in our Zendesk Developer Blog detailing how to do exactly that. I suggest taking a look at it here. You could also try using triggers and events to send data between both the app and modal. However, I definitely recommend the walkthrough as a first approach. 
 
Hope this helps!
 
Best,
 
Erica - Dev Support