Skip to Content

How to access Document Repo id dynamically from HTML5 app

Jan 25 at 10:38 PM


avatar image


I'm trying to access the files from Document Repository without hardcoded the private key or repo id in manifest.json because there are multiple tenants with different repo id and there is only HTML5 app which is the based app. I need a solution how can I access repo id (private key) from Document Repositories on SAP Cloud without hardcoded in the destination in manifest.json?

Please see the attachment.

Anyone please help me on this issue.



snip20180125-1.png (179.0 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Kameshwar Gandikota
2 days ago

Hi Dara,

You may try using SAP Document Center Service along with Document Service which would make accessing repositories Info details via the service url end point

https://smd- .

    "repositoryId":"<repo ID>",
    "productName":"Document Service",
    "rootFolderId":"<Root folder ID>",
    // and other properties

You may also use the Fiori Component that is readily available to access the files from that repository.

10 |10000 characters needed characters left characters exceeded