How to get document based on property?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2018 04:49 AM
I am using query/nodes rest api to find node based on metadata .But its not working
{
“query”: {
“query”: “cm:name:ab* AND dpdrojectName: c*“,
“language”: “fts-alfresco”
}
}
Get /queries/nodes? term= query
Is it correct?
- Labels:
-
Alfresco Content Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2018 07:47 AM
You have a whitespace in your query between dpdrojectName: and c*. That may break your use case.
Other than that, it is typically good to include a basic description of what you mean by "it is not working". There are countless possible errors / mistakes that could occur / be made, so without any information on e.g. an error we cannot really help you that much (apart from checking your query and finding stray whitespaces).
