cancel
Showing results for 
Search instead for 
Did you mean: 

Documentation of Comments API

mehe
Elite Collaborator
Elite Collaborator

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 ACCEPTED ANSWER

eugenio_romano
Elite Collaborator
Elite Collaborator

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 answer in original post

1 REPLY 1

eugenio_romano
Elite Collaborator
Elite Collaborator

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