The app I'm developing is supposed to pull data from our internal customer database for contact and order info for the ticket requester.
The problem is that I'm getting requester information for each of the ticket tabs that have been opened if I have visited them and hit the iframe/app refresh button. I do not see a way to determine which ticket/application is currently being actively viewed.
Some test code:
const client = ZAFClient.init();
let test = await client.get('instances');
If you refresh the agent workspace with multiple ticket tabs open, it will only display the currently viewed tab. If you hit the the App/Iframe button it still only displays the currently viewed tab. If you click on another tab, it only displays the currently viewed tab. This is the desired result.
Now here's the that leads me to believe that this is not working as intended:
If you click on any of the other ticket tabs and then hit the App/Iframe refresh button, it reports the ticket/requester info for every ticket you've clicked into. Completely refreshing the page fixes it until you start clicking on other tabs and hit the app/iframe refresh button.
Am I missing something, or is this a bug?
Is it possible to disable the app refresh button? That alone would prevent it from happening.
Thanks in Advance!
Iniciar sesión para dejar un comentario.