최근 검색
최근 검색 없음

Vlad
가입한 날짜: 2022년 10월 05일
·
마지막 활동: 2024년 8월 28일
팔로잉
0
팔로워
0
총 활동 수
14
투표
1
플랜 수
5
활동 개요
배지
문서
게시물
커뮤니티 댓글
문서 댓글
활동 개요
님의 최근 활동 Vlad
Vlad님이 에 게시물을 만듦
My question concerns this article .
We have a specially developed automation that runs on our server and deletes old chats. This authorizes itself in the live chat API with the client credentials flow where the client ID and the client secret are exchanged for an access token.
As the API does not accept API tokens, we have no other option.
The article does not mention the Client Credentials Flow, so I want to make sure that it can still be used in the future.
2024년 8월 28일에 게시됨 · Vlad
0
팔로워
0
투표 수
0
댓글
Vlad님이 에 댓글을 입력함
Using curl with “curl -u /token: -O ” is still not working and the file is unreadable. Download the file via fetch in Javascript is also not possible, because of an cors error.
댓글 보기 · 2024년 7월 10일에 게시됨 · Vlad
0
팔로워
0
투표 수
0
댓글
Vlad님이 에 댓글을 입력함
Hi Greg,
instance.registered is not triggered if the app is only displayed in the navbar, only when you click on the app. This is also stated in the documentation: "Fires when an app instance is loaded and registers a SDK client."
I want to change the app icon when the page is loaded, even before the navbar app is used, so instance.registered is not an option.
댓글 보기 · 2024년 5월 11일에 게시됨 · Vlad
0
팔로워
0
투표 수
0
댓글
Vlad님이 에 게시물을 만듦
We have different versions of one NavBar-App with different Icons. I'm trying to set the AppIcon from a background instance, but this isnt working as expected.
- Sometimes the Navbar Instance is loaded before the Background Instance, so instance.created is not triggered. Why?!
- Even if the background Instance is loaded first and the instance.created event ist triggered with a navbar-instance, the navbar-instance is obviously not fully loaded since navbarClient.set('iconSymbol', appSymbol) or navbarClient.invoke('preloadPane') does not work. Only if i use it within a settimeout block
async function setNavBarSymbol() {
const appData = await client.metadata()
const parameters = appData.settings;
const appSymbol = parameters['SymbolID'];
const instancesData = await client.get('instances');
const instances = instancesData.instances;
for (let instanceGuid in instances) {
if (instances[instanceGuid].location === 'nav_bar') {
client.instance(instanceGuid).set('iconSymbol', appSymbol);
}
}
}
This does not work:
client.on('instance.created', async function (data) {
await setNavBarSymbol();
});
This does work:
client.on('instance.created', async function (data) {
setTimeout(async () => {
await setNavBarSymbol();
}, 2000);
});
It makes no sense to me to trigger the instance.created event if the instance is not fully loaded.
Please fix that or provide me a better solution without a settimeout, which is not reliable
2024년 5월 09일에 편집됨 · Vlad
0
팔로워
2
투표 수
3
댓글
Vlad님이 에 게시물을 만듦
I'm working on a Zendesk Applikation and need to know how to open the "suspended tickets" and "deleted tickets" views.
usually i'm using the zaf client method "client.invoke" to open views like so:
client.invoke("routeTo", "views", )
Since the views "deleted tickets" and "suspended tickets" do not have IDs, this is not possible in this way.
How can I proceed to realise this?
2023년 8월 10일에 편집됨 · Vlad
1
팔로워
1
투표
0
댓글