Page 1 of 1

Get uuid of document via folder path

PostPosted:Wed Jan 11, 2017 1:17 pm
by jimac
Good day!

Is it possible to get the uuid of a document if I know its folder path? (ex. /okm:root/testfolder/test.pdf)

if yes, how?
what is the code?

Thank You!

Re: Get uuid of document via folder path

PostPosted:Thu Jan 12, 2017 6:10 pm
by jllort
I think is what you are looking for:
Code: Select all
import com.openkm.api.*;
OKMRepository.getInstance().getNodeUuid(null, "your path here");