Count of Associations for an asset

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

Count of Associations for an asset

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.

MicrosoftTeams-image (2).png

Thanks in advance,

3 Replies
sanjaybandhniya
Intermediate

Re: Count of Associations for an asset

I dont think any default api available.

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

Thanks & Regards,
Sanjay
ajendra
Member II

Re: Count of Associations for an asset

Thanks for the suggestion,

 

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

 

That will be a great healp. 

angelborroy
Alfresco Employee

Re: Count of Associations for an asset

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

Hyland Developer Evangelist