11-01-2018 09:28 AM
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.
11-02-2018 09:51 AM
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...
Explore our Alfresco products with the links below. Use labels to filter content by product module.