Vor Kurzem aufgerufene Suchen


Keine vor kurzem aufgerufene Suchen

Trey's Avatar

Trey

Beigetreten 16. Okt. 2021

·

Letzte Aktivität 26. Okt. 2021

Folge ich

0

Follower

0

Gesamtaktivitäten

2

Stimmen

0

Abonnement

1

AKTIVITÄTSÜBERSICHT

Neueste Aktivität von Trey

Trey hat einen Post erstellt

Post Developer - Zendesk Apps Framework (ZAF)

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');
console.log(test);

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!

-Trey

 

 

 

Gepostet 04. Okt. 2021 · Trey

0

Follower

8

Stimmen

6

Kommentare