cancel
Showing results for 
Search instead for 
Did you mean: 

Get the count of association for a document

kawin
Champ in-the-making
Champ in-the-making

I need to get only count of association for a document which is highlighted in the below image.

Is there a way to get only count using Java Webscript?

What class we need to implement to achieve this?

image

2 REPLIES 2

angelborroy
Community Manager Community Manager
Community Manager

I guess you can use something like the following from Repository JavaScript tier:

document.associations.length
Hyland Developer Evangelist

kawin
Champ in-the-making
Champ in-the-making

The solution you provided is by using JavaScript.

I need to find the count using Java. Is there a way to achieve this using Java?