I have following structure of physical and smart folder:
+-MySmartFolder <--- smart folder directory
On my smart folder search query path, how to define the 'relative path' instead of absolute path (e.g. PATH:'/app:company_home/st:sites/cm:finance-site/cm:documentLibrary/cm:report-1/*') ?
The path I want to search is under directory "Directory-One" or parent folder, so I will get Subdir-1 and Subdir-2 as well.
The search query will be put on MySmartFolder directory (smart folder template).
Secondly, I need this approach since I want to create a custom smart folder applied into "space template". So, when I create a "folder from template" -- this new physical folder will have a custom smart folder which contains a relative path to its current location/path.
I've tried with . (prompt) sign, self, self::node() to PATH parameters were failed.
How to solve this problem?