最近の検索
最近の検索はありません
Zendesk Embedded Agent issue
投稿日時:2023年3月23日
While embedding the agent to Zendesk, Invoke method on client object is not working once we login to application as we are getting value for client object as false.
We are creating client object as below:
client = window.ZAFClient.init();
client.invoke('routeTo', 'ticket', 780);
We tried calling init on ZAFClient method by passing search parameter as given below so that we get client object as expected before and after login to CXone agent application but it does not work. When we create a client object as below, the invoke method on client object does not throw an error but does not work as well.
client = window.ZAFClient.init(() => {
console.log('initialize callback');
}, {
search: "app=cxa_zd&origin=https://d3v-niceincontact.zendesk.com&app_guid=5950dfec-e7f0-4b73-a4e0-1fcda089356e"
});
client.invoke('routeTo', 'ticket', 780);
0
1件のコメント
Christopher Kennedy
It sounds like this is a server-side app with page navigation. In order to create the client object, your app will need to append the
origin
andapp_guid
parameters to the link URL of each page. That will then allow the page to call ZAF API methods. We break this down in greater detail in Accessing Framework APIs.0
サインインしてコメントを残してください。