Hi all,
I need to implement an afts query that find all the documents that have a PATH like this:
/app:company_home/st:sites/cm:site1/xxxxx/…/MYCUSTOMFOLDERNAME/xxxxx”
I already used these kind of query before using wildcards like this:
TYPE:"cm:content" AND PATH:"/app:company_home/st:sites/cm:site1/xxxxx/MYCUSTOMFOLDERNAME//*"
but I need that the xxxxx value could be any folder, not a static one (ex. /documentLibrary/AnotherStaticFolder/...).
I tried creating a query like this but I have no results:
TYPE:"cm:content" AND PATH:"/app:company_home/st:sites/cm:site1//*//MYCUSTOMFOLDERNAME//*"
Probably I'm asking an impossible question but I want to know if someone has any suggestion.
Instead of this I already have a workaround where I found all the folder named MYCUSTOMFOLDERNAME and create for each a different query like this:
TYPE:"cm:content" AND ANCESTOR:"EACH-FOLDER-NODEREF-HAVING-MYCUSTOMFOLDERNAME"
Thanks in advance.