Client.set('comment.text') method does not work | The place for Zendesk users to come together and share
Skip to main content
July 7, 2021
Question

Client.set('comment.text') method does not work

  • July 7, 2021
  • 14 replies
  • 76 views

I am using the ZAF client on a number of environments and have been trying to debug why this particular method window.client.set('comment.text', '') does not work on one of them. 

It works on all others except one. Is it possible that the problem environment is running an older version of the ZAF client?

14 replies

July 15, 2021

Sweet! Thanks a lot Eric really appreciate it

December 7, 2021

I have this exact same problem currently, noticed this when switching to new agent workspace layout. However, I can't see the text even in the dev tool.

Greg K
Employee
December 8, 2021

Hi Tuomas! This issue in Agent Workspace is a known limitation at this time. The product and engineering teams are aware of this and do have a resolution for this on their roadmap, although I do not have an ETA to share at this time. 

December 9, 2021

My app is not running in the ticket editor tab, it is in the new ticket sidebar.
There is no documentation in:

https://developer.zendesk.com/api-reference/apps/apps-support-api/ticket_sidebar/#comment-object

that I can find explaining that this is feature is missing from New agent workspace, on the contrary it says:

"In the Zendesk Agent Workspace, setting comment.text during a chat conversation auto-transpiles rich text into plain text (Markdown syntax) in the chat editor."

Have I understood something incorrectly?