Hello, I'm looking for a query code syntax that will look for a specific folder name (Example: TESTFOLDER) and bring together all the documentation from that folder. Also if possible to standardize a dynamic code that could detect path based on where the smartfolder is created and brings all the documents together.
I would really appreciate your help on this topic.
"TESTFOLDER" :
-SUBFOLDER 1 (10 docs)
-SUBFOLDER 2 ( 5 images)
-SUBFOLDER 3 (4 docs)
SMARTFOLDER: This SmartFolder will contain all the documentation from "TESTFOLDER" and all the subfolders inside of it. ( 14 documents + 5 images) without cycles.
----------------------------------------
"name" : "General Documents",
"description" : "Documentos Generales",
"search" : {
"language" : "fts-alfresco",
"query" : "(PATH:'/app:company_home/st:sites//') ? ??
Hi:
You can try something like PATH:'%ACTUAL_PATH%//*' o for your TESTFOLDER in a site called "mysite":
PATH:'/app:company_home/st:sites/cm:mysite/cm:documentLibrary/cm:TESTFOLDER//*'
Regards.
--C.
Thank you Cesar,
It worked very well.
Kind Regards.
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.