Recent searches
No recent searches

Alex
Joined Aug 09, 2023
·
Last activity Jan 25, 2024
Following
0
Followers
0
Total activity
4
Votes
0
Subscriptions
2
ACTIVITY OVERVIEW
BADGES
ARTICLES
POSTS
COMMUNITY COMMENTS
ARTICLE COMMENTS
ACTIVITY OVERVIEW
Latest activity by Alex
Alex created a post,
Post 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?
Posted Jan 25, 2024 · Alex
0
Followers
2
Votes
1
Comment
Alex commented,
CommentSecurity 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
View comment · Posted Aug 09, 2023 · Alex
0
Followers
0
Votes
0
Comments