最近搜索


没有最近搜索

Trey's Avatar

Trey

已加入2021年10月16日

·

最后活动2021年10月26日

关注

0

关注者

0

活动总数

2

投票

0

订阅

1

活动概览

的最新活动 Trey

Trey 创建了一个帖子,

帖子 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

 

 

 

已于 2021年10月04日 发布 · Trey

0

关注者

8

投票

6

评论