How to retrieve details of current page from widget?
Hi,
Does anyone know if there's a way to retrieve the details of the user's current page from a background widget (or any other for that matter)?
When user navigates to a page, I want to check what type of page it is (e.g. ticket detail) and then decide whether or not to take action.
I want to identify the current page when the app loads, since the user may have navigated to the app from a link.
Best I can do at the moment is set up an event handler for the `ticket_shift` and `pageChange` events, but this only works if the user navigates to the page/ticket from within the app, not when the page first loads.
Is there something better I can do? It feels like I'm missing something, but can't find it in the documentation.
Many thanks
Tim
//Change from one ticket to another
App.instance.on('ticket_Shift', function (data: any) {...});
//Change Page
App.instance.on('pageChange', function (data: any) {...});
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.