最近搜索
没有最近搜索

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
评论