Documentation of Comments API

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Senior Member II

Documentation of Comments API

Jump to solution

In the alfresco-js-api there is an example for retrieving the comments of a node:

this.alfrescoJsApi.core.childAssociationsApi.getComments(...

seems that it should be

this.alfrescoJsApi.core.commentsApi.getComments(

so we would have to use commentsApi instead of childAssociationApi throughout?

Greetings, 

Martin

1 Solution

Accepted Solutions
Highlighted
Alfresco Employee

Re: Documentation of Comments API

Jump to solution

Hi Martin,

Thanks for report this documentation problem, I opened an issue for you on the alfresco-js-api:

Wrong documentation comments Api · Issue #214 · Alfresco/alfresco-js-api · GitHub 

Yes the right way is:

this.alfrescoJsApi.core.commentsApi.getComments(

Eugenio

View solution in original post

1 Reply
Highlighted
Alfresco Employee

Re: Documentation of Comments API

Jump to solution

Hi Martin,

Thanks for report this documentation problem, I opened an issue for you on the alfresco-js-api:

Wrong documentation comments Api · Issue #214 · Alfresco/alfresco-js-api · GitHub 

Yes the right way is:

this.alfrescoJsApi.core.commentsApi.getComments(

Eugenio

View solution in original post