As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
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.
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...