Recent searches


No recent searches

Trey's Avatar

Trey

Joined Oct 16, 2021

·

Last activity Oct 26, 2021

Following

0

Followers

0

Total activity

2

Votes

0

Subscription

1

ACTIVITY OVERVIEW

Latest activity by Trey

Trey created a post,

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

 

 

 

Posted Oct 04, 2021 · Trey

0

Followers

8

Votes

6

Comments