Welcome to the Alfresco Builder Network

Our technical resource site is still being improved. We'd love to hear your feedback. Tell us what you think

Adds and retrieves comments for nodes in Content Services.

Class members


  • addNodeComment(nodeId: string, message: string): Observable<CommentModel>
    Adds a comment to a node.
    • nodeId: string - ID of the target node
    • message: string - Text for the comment
    • Returns Observable<CommentModel> - Details of the comment added
  • getNodeComments(nodeId: string): Observable<CommentModel[]>
    Gets all comments that have been added to a node.


See the Comments API section of the Alfresco JS API docs for more information about the underlying REST API.

See also

Interested in trying Alfresco?

Try Now