04-05-2019 01:55 PM
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//') ? ??
04-07-2019 01:51 PM
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.
04-08-2019 12:53 PM
Thank you Cesar,
It worked very well.
Kind Regards.
Explore our Alfresco products with the links below. Use labels to filter content by product module.