cancel
Showing results for 
Search instead for 
Did you mean: 

Get node reference by path

hanscrg
Champ in-the-making
Champ in-the-making
In a customized action, how to get a folder's node reference by its full path such as

"Sites/rm/documentlibrary/someCatgory/someSerial/somefolder"

Thanks in advance.
1 REPLY 1

mikemars
Champ in-the-making
Champ in-the-making
Hi,

You can use the SearchService to perform a Lucene Query:

The Lucene query will be in the format:

PATH:"/app:company_home/cm:somefolder/cm:somesubfolder"