최근 검색


최근 검색 없음

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개

image avatar

Oscar Mejias

Zendesk Customer Care

Hi Miguel, 

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


댓글을 남기려면 로그인하세요.

원하는 정보를 못 찾으셨나요?

새 게시물