How to listen to ticket change
Hello community,
I created a widget, which checks all departments, if the user has written there as well, as some customer do this.
Overall it works fine, except that I have to refresh the widget tab every time I go to another ticket. How can I listen for that "ticket change" event? I tried App.on and ZOHODESK.Event.on, but only get the error, that both are not a function:
- //Wait until SDK is loaded
- ZOHODESK.extension.onload().then(function (App) {
- // First loading (works)
- loadTicketData();
- // Here I get the error
- App.on("Ticket_Changed", function (data) {
- loadTicketData();
- });
- });
Attached I send you the full widget file. Any help is much appreciated!
Access your files securely from anywhere
Zoho Developer Community
Deliver unforgettable customer experiences
Deliver unforgettable customer experiences
New to Zoho Marketing Plus?
Everything you need to run your marketing
New to Zoho Marketing Plus?
Everything you need to run your marketing
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho TeamInbox Resources
Zoho DataPrep Resources
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Qntrl Resources
Zoho Creator Resources
Zoho Campaigns Resources
Zoho CRM Resources
Zoho Show Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.