Page 1 of 1

Root Folder Path??

Posted: Wed Nov 18, 2009 5:52 am
by fatman
I want to use GetFolderCatalog https://support.inforouter.com/web-serv ... derCatalog to get list of Folder and file in the root folder but the root folder patch doesn't work. The statement I use is:
XmlNode xml_response = IR_OBJ2.GetFolderCatalog(AuthenticationTicket,"/");
But when i use:
XmlNode xml_response = IR_OBJ2.GetFolderCatalog(AuthenticationTicket,"/Public");
It works. Please tell me the root folder patch.
Thanks

Re: Root Folder Path??

Posted: Tue Nov 24, 2009 10:08 am
by Admin
Hello,

You first need to call the GetDomains method to get a list of Libraries for the root.

Here is the link for the method documentation:
https://support.inforouter.com/web-serv ... GetDomains

Once you get a list, you can then call the other method to get the specific of the path.

I hope this helps.

Re: Root Folder Path??

Posted: Wed Nov 25, 2009 3:20 am
by fatman
Admin wrote:Hello,

You first need to call the GetDomains method to get a list of Libraries for the root.

Here is the link for the method documentation:
https://support.inforouter.com/web-serv ... GetDomains

Once you get a list, you can then call the other method to get the specific of the path.

I hope this helps.
Thanks for your help.
Btw, i want to know the api to set Document's version??

Re: Root Folder Path??

Posted: Tue Dec 08, 2009 11:18 pm
by doiley
You can only change the version by doing an upload.

The document will need to be checked out and I believe you need to upload the document with a handler and use the "UploadDocumentWithHandler2" method.