cancel
Showing results for 
Search instead for 
Did you mean: 

getObjectByPath: How to write the path?

nicolasraoul
Star Contributor
Star Contributor
I need to retrieve an object by its path so I wrote:

PATH = "/Company Home";
getObjectByPath(PATH);

But I get error 404 (CmisObjectNotFoundException).

Is there a special formalism to write the path?
Do I need to write some kind of prefix?
1 REPLY 1

nicolasraoul
Star Contributor
Star Contributor
OK, I have found 🙂
Company Home is actually known as "/", as it is the root itself.
So we have for example: /Data dictionary/Scripts

Hope this helps!
Nicolas Raoul