최근 검색
최근 검색 없음

Alex
가입한 날짜: 2023년 8월 09일
·
마지막 활동: 2024년 1월 25일
팔로잉
0
팔로워
0
총 활동 수
4
투표 수
0
플랜 수
2
활동 개요
배지
문서
게시물
커뮤니티 댓글
문서 댓글
활동 개요
님의 최근 활동 Alex
Alex님이 에 게시물을 만듦
게시물 Developer - Zendesk Apps Framework (ZAF)
I want to show modal in some cases. And handle event like "close modal".
I implement it like in documentation.
let thisClass = this,
width = '400px',
height = '620px',
option = {
location: 'modal',
size: {
width: width,
height: height
}
};
thisClass.clientZendesk = ZAFClient.init();
thisClass.clientZendesk.invoke('instances.create', option).then(function(modalContext) {
let instanceGuid = modalContext['instances.create'][0].instanceGuid,
modalClient = thisClass.clientZendesk.instance(instanceGuid);
modalClient.on('modal.close', function() {
console.log("CLOSED modal")
});
});
But console.log did not work. Did not execute callback for event 'modal.close'
modalClient.on('modal.close', function() {
SOME_FUNCTION()
});
what wrong?
2024년 1월 25일에 게시됨 · Alex
0
팔로워
2
투표 수
1
댓글
Alex님이 에 댓글을 입력함
댓글Security and user access in Zendesk Support
For generate token i use link https://{{sub-domain}}.zendesk.com/oauth/tokens
after that try send request to endpoint https://api.getbase.com/v2/leads
and receive response:
"error": {
"code": "unauthorized",
"details": "Required access token is missing, malformed, expired, or invalid.",
"message": "request is unauthorized"
},
Where problem? how it fix? i asked twice to support but did not receive suggestion
댓글 보기 · 2023년 8월 09일에 게시됨 · Alex
0
팔로워
0
투표 수
0
댓글