Hi,
I try to use where option with getNodeChildren method but it doesn't work:
const childrenOpts = {
skipCount: 0,
include : ['path', 'properties', 'allowableOperations', 'permissions', 'aspectNames', 'isFavorite'],
includeSource: true,
maxItems: 10,
where: '(name = \'PHOTO\')'
};
this.alfrescoApiService.nodesApi.getNodeChildren(this.mainExterneLibraryNode, childrenOpts)....
But i still have the same error :
I don't find the correct syntax....I have tried with @CM\\:name etc..... nothing works
Thank you for your help
You probably need to use Search api instead of the Nodes api to get more sophisticated queries.
For the Nodes api, please refer to the API Explorer to get more details on what API supports for the "where"
https://api-explorer.alfresco.com/api-explorer/#!/nodes/listNodeChildren
Discussions, help and advice about the Alfresco Development Framework.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.