Hello everyone,
I'm using smartfolders, and it's really useful.
Nonetheless, i'd like to filter my query by putting only the pdf content which contains the tag "test", so I'm trying to put in the query :
"query" : "(PATH:'/app:company_home/st:sites//*') AND =cm:content.mimetype:application/pdf AND (=cm:modifier:%CURRENT_USER% OR =cm:creator:%CURRENT_USER%) AND =cm:taggable:test"
It's not working, i'm sure it's the cm:taggable:test that is not in the correct syntax.
Do you have an idea on the syntax in order to make the query correctly working ?
Thank you so much !
Regards,
Joffrey
Solved! Go to Solution.
You are correct about the tags.
Below link will help you in how you can query tags.Check out the answer of Jeff.
It's working perfectly, thank you so much !
Hi:
TAG syntax is also possible:
{
"id" : "16",
"name" : "Tagged 'test'",
"description" : "My tes files",
"search" : {
"language" : "fts-alfresco",
"query" : "(PATH:'/app:company_home/st:sites//*') AND =cm:content.mimetype:application/pdf AND (=cm:modifier:%CURRENT_USER% OR =cm:creator:%CURRENT_USER%) AND TAG:'test'"
}
}
Regards.
--C.
Thank you, it's working too !
I prefer this way, and this is how I use it.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
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.