Page 1 of 1
how to get included documents by its folder's path
PostPosted:Fri Apr 09, 2010 9:16 pm
by janetao2000
Hi,
Anyone knows how to get the included documents under a folder based on the folder's path?
Regards,
Jane
Re: how to get included documents by its folder's path
PostPosted:Sun Apr 11, 2010 10:21 am
by jllort
In OKMDocument webservice you have two methods
Code: Select allpublic byte[] getContent(String token, String docPath, boolean checkout)
public byte[] getContentByVersion(String token, String docPath, String versionId)
Re: how to get included documents by its folder's path
PostPosted:Mon Apr 12, 2010 5:59 am
by janetao2000
Thanks.
I also find that using OKMDocument.getChilds(uuid, folderPath) and OKMFolder..getChilds(uuid, folderPath) will return what I need.
Jane
Re: how to get included documents by its folder's path
PostPosted:Mon Apr 12, 2010 5:53 pm
by jllort
These methods returns a list of documents and folders from some path not the byte[] document, that's what I was thinking.