最近搜索


没有最近搜索

Sumathy (.asia)'s Avatar

Sumathy (.asia)

已加入2022年7月21日

·

最后活动2022年7月26日

关注

0

关注者

0

活动总数

4

投票

1

订阅

1

活动概览

的最新活动 Sumathy (.asia)

Sumathy (.asia) 进行了评论,

社区评论 Developer - Zendesk Apps Framework (ZAF)

I still have this issue. For my case, when the App refresh button is clicked, the client.get('ticket.requester.id') does gets the last opened or random ticket id from the multi-tab tickets and displays the product.  Due to this issue, I am unable to show the correct products for the ticket user in the side tab.

 I have posted it in Zendesk support and they have mentioned that currently there is no way to retrieve a particular instance ticket id when multiple tabs or opened.  So, they have added this issue as a product feedback.

查看评论 · 已于 2022年7月26日 发布 · Sumathy (.asia)

0

关注者

0

投票

0

评论


Sumathy (.asia) 进行了评论,

社区评论 Developer - Zendesk Apps Framework (ZAF)

Hi, 

I am having the same issue, anyone have a solution for this?  Below is the code I use for initializing. Because of this, I am unable to display the correct products for the User.  I need an urgent solution for this.

var client = ZAFClient.init();
  client.invoke('resize', { width: '100%', height: '320px' });

  client.get('ticket.requester.id').then(
    function(data) {
        console.log(data);
      var user_id = data['ticket.requester.id'];
      requestUserInfo(client, user_id);
    }
  );

 

查看评论 · 已于 2022年7月21日 发布 · Sumathy (.asia)

0

关注者

0

投票

0

评论