최근 검색
최근 검색 없음
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
댓글을 남기려면 로그인하세요.