Hi,
Im trying to make a web script that does a search for a Document Type in a user specified folder. Something like this works fine:
query = 'TYPE:"intranet:billing" AND PATH:"/app:company_home/st:sites/cm:Intranet//*""';
But i wonder if theres an easier way to handle this because i must convert the user input "/intranet" to "/app:company_home/st:sites/cm:Intranet//*".
I was looking at something easy/efficient like:
nodes = companyhome.childByNamePath(args.folder);
query = 'TYPE:"intranet:billing" AND PATH:"nodes"';
But i cant get it to work.
Any ideas?
Thanks in advance 🙂