get every Child from getNodeChildren()

cancel
Showing results for 
Search instead for 
Did you mean: 
jriedl17
Active Member

get every Child from getNodeChildren()

Hello guys,

if you call the function GetNodeChildren(idOfNode) the maxItems are 100 on default, but I want to get every child all at once. 

Is there any possibility doing this?

Thanks in advance.

1 Reply
afaust
Master

Re: get every Child from getNodeChildren()

I assume you are using the Public v1 ReST API (potentially via the alfresco-js-api layer). The ReST API operation allows the client to specify the number of items to limit, so simply setting that to an absurdly high value (in Java one would use Integer.MAX_VALUE) should allow you to get all the children in one operation. The API you are using should expose that as a parameter, though I must admit I have not used the alfresco-js-api myself to know it for sure...