Ticket Editor app - cannot access comment.text | Community
Skip to main content

Ticket Editor app - cannot access comment.text

  • March 29, 2024
  • 1 reply
  • 0 views

Onur12

I'm developing a Support app in the Ticket Editor location and I want to allow the user to alter the text they have in the comment box and replace it. I have access to comment.text in the Ticker Sidebar app, but not the Ticket Editor. Why is this? 

1 reply

Hi Onur,
 
The comment.text property is actually available to the ticket editor location for replacing text.  In that location, you must reference it as a property of the ticket object (ticket.comment.text).  So to replace text from your ticket editor app, use client.set('ticket.comment.text', value).