Forum Discussion
samudhraa
11 years agoExpert
One of the ways to do it would be
to capture the post submit method via jQuery
write a function to get the reply message's id and use it in a REST call to edit the message and add label.
Something like "/messages/id/261/edit with parameter label.labels
Editing a message, would return the message node as its response.
However if you are going to do this for a lot of messages at a time on page load , there might be some trade off with performance.
Another method could be to check if you can use tags in a reply ,and restrict tags to your list of labels.
Related Content
- 3 years ago
- 8 months ago
- 8 months ago