从默认应用设置manifest.json包含此
"location": { "zendesk":
{ "ticket_sidebar": "assets/iframe.html" }
}
我希望脚本的一部分在后台运行。那么如何在manifest.json中添加背景位置?
就像我试过的那样
"location": { "zendesk":
{ "ticket_sidebar": "assets/iframe.html" },
{ "background": "assets/iframe.html" }
}
但不行。
答案 0 :(得分:0)
看起来您正在使用Zendesk App Framework版本2.尝试使用以下代码段:
"location":{"support":{"ticket_sidebar": "assets/iframe.html"},{"background": "assets/iframe.html"}}
如果您使用的是Zendesk Framework版本1,则需要将位置指定为:" location":[" ticket_sidebar"," background"]