cancel
Showing results for 
Search instead for 
Did you mean: 

Count of Associations for an asset

ajendra
Champ in-the-making
Champ in-the-making

Hello folks,

I want to count the number of Associations associated with an asset/folder. I dont need the whole records, I need just count from Alfresco. 

It will be great if we have an option to fetch the associations based on pagination

Please refere the below screenshot for the associations what I need.

image

Thanks in advance,

3 REPLIES 3

sanjaybandhaniya
Elite Collaborator
Elite Collaborator

I dont think any default api available.

You can create custom webscript/api which count association of given node/list and return.

Thanks for the suggestion,

Can you please provide some example, how to do this?

That will be a great healp. 

You can learn developing Web Scripts at https://docs.alfresco.com/content-services/latest/develop/repo-ext-points/web-scripts/

Hyland Developer Evangelist