app ticket editor not inserting text in private mode
Posted Feb 22, 2024
Can you pass this ticket along to developer app support?
My marketplace app "Extract Text from Image" is having trouble with the new agent interface.
If the user sets the editor private comment, then the app works fine.
but if the user had the editor to public comment by default then the app should change it to private note and then insert the text but that step is failing on the new interface. It still works on the old one however.
here is the video on youtube https://youtu.be/713XaHcTMLc
HAr file can be provided but you should be able to reproduce.
here is the relevant lines of code:
//set content to a private note
client.set('comment.type', 'internalNote');
//add the result to the editor text. This step works fine in the old agent interface but not in the new one.
// in the new agent interface, it shows that the internal note has been activated in the editor but not text is inserted
// i checked Chrome dev tools anre there is no error that I can see
client.invoke('comment.appendHtml', e.text + '<br />');
//send the result back to the modal
client.instance(e.returnGuid).trigger('success', e.aid);
1
4 comments
Nazir Kabbani
any news?
0
Nazir Kabbani
any updates?
1
Joyce
We created a ticket on this concern for our dedicated team to assist with the issue you are seeing when your app interacts with the new agent interface. The dedicated team will be in touch with you via email.
-1
Nazir Kabbani
i even tried swithcing to this line of code
client.invoke('ticket.editor.insert', e.text + '<br />');
but still the text won't insert unless the editor is already in private mode
0
Sign in to leave a comment.