Your app may require that the Deskpro UI be updated in some way following a particular action or event, e.g. you may want to send some content or a link to the reply box of a ticket. To do this, we send a UI event to Deskpro so that a particular aspect of Deskpro's UI can be updated. For example:
useInitialisedDeskproAppClient((client) => {
// Append a link to the content of the "active" reply box editor
client.deskpro().appendLinkToActiveTicketReplyBox(
"https://example.com/",
"Example Link"
);
}); copy
We currently support the following UI updates:
appendLinkToActiveTicketReplyBox()
- Append a hyperlink to the content in the "active" reply boxappendContentToActiveTicketReplyBox()
- Append text to the content in the "active" reply box
Log in of registreer om een reactie te plaatsen.