Skip to Content
author's profile photo Former Member
Former Member

sample calls and getObjectByPath

Dear all,

I am a beginner with CMIS and mobile documents and am currently trying to connect to mobile docs using a custom client. We are using the browser binding and I am having a hard time to figure out some of the calls. Sometimes sample calls exist in the official cmis documentation but sometimes they don't. In the SAP documentation I also don't really find sample request or response messages. Am I missing something or is this kind of documentation simple non existent? Would be so much easier to have it!

Especially I am trying to call the getObjectByPath method.

Has anybody called this method successfully and can tell me how to access it for "my documents" and "share" respositories?

I have tried to call it like this:

https://mdocs.sap.com/mcm/json/repositoryId/root?path=/userId/folder1/folder2&cmisselector=object for "my documents" where I want to access the meta information of folder2 which is located under root/folder1/ . All I am getting back is the root folder though.

Also without the userId its returning me the same information about the root folder of my repository.

Any hints would be appreciated.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Nov 09, 2015 at 10:59 AM

    Hi Steve,

    your request should look something like:

    https://mdocs.sap.com/mcm/json/<repositoryId>/root/<userId>/folder1/folder2?cmisselector=object


    Which cmis library are you using for your custom client?


    Best regards,

    Peter

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.