最近の検索
最近の検索はありません
Dynamically changing app icons NOT working on Ticket Editor location
投稿日時:2023年7月20日
Hello,
According to the documentation it is possible to dynamically change the app icon the location "ticket_editor".
I have followed the documentation:
- Using file name icon_ticket_editor.svg
- I used the correct format for the svg
<svg xmlns="http://www.w3.org/2000/svg">
<symbol id="default" viewBox="0 0 18 18">
<circle cx="9" cy="9" r="5"/>
</symbol>
<symbol id="mySymbol" viewBox="0 0 18 18">
<path d="M0 0h9v3H0zM0 7h18v3H0zM0 14h18v3H0zM15 3l3-3h-6"/>
</symbol>
</svg>
And it does not work. The icon is not displayed and if I try to use the function
client.set('iconSymbol', 'mySymbol')
I get the error:
client.js:160 Uncaught (in promise) APIUnavailable: Could not find handler for: "iconSymbol"
Probably this function is no longer supported and the docs are outdated, but if there was a solution that'd be amazing.
I also tried in the app to test "client.set('iconSymbol', 'mySymbol')" in location "top_bar" and it is working without any issue, so I think it is not my fault.
0
1
1件のコメント
Oscar Mejias
Can you please confirm if you have implemented the code in the UI portion of your app instead of at a global level? We've seen this error in the past this could be the reason why you are getting this error.
Thanks.
0