07-03-2020 05:06 AM
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
07-03-2020 06:51 AM
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
Explore our Alfresco products with the links below. Use labels to filter content by product module.