cancel
Showing results for 
Search instead for 
Did you mean: 

Public Share option in document management Service

former_member664730
Participant

Hi Team,

Created Fiori App using Reuse UI and Document Management Service, Integration Option.

we are able to upload , download documents and create share folders successfully .

public share URL is getting generated after After enabling "Anyone with link has access" in share folder .

Questions

1. how to access this public share URL ? what should be the prefix domain to call this public URL ?.

2. how to pass pubLinkid in component usage settings in manifest file ?.

3. can users access folder/document without sdm_user role using public share link ?

Thanks,

Phani

View Entire Topic

Hi Phani,

Please find my answers inline.

1. how to access this public share URL ? what should be the prefix domain to call this public URL ?.

Ans: The url which you see once a particular object is made public is only for reference. This url will not work if you are using the reuse ui. The reason for this is that the public share feature needs to be implemented separately for reuse ui. What i mean by that is if you want to access a share which is made public you have to implement another application which handles unauthenticated requests. The details for this is provided in the below help document.

https://help.sap.com/viewer/f6e70dd4bffa4b65965b43feed4c9429/Cloud/en-US/76f3217944ec4ee9b9e9987794d...

2. how to pass pubLinkid in component usage settings in manifest file ?

Ans: You can pickup the publicLink id from the object which has been made public or from the url parameters which you see from the UI and you can pass only the public link id as a part of component settings.

3. can users access folder/document without sdm_user role using public share link ?

Ans: sdm_user scope will not be required for accessing folder/documents.

former_member664730
Participant
0 Kudos

Hi Tapishnu,

Thanks for reply .

yes we created new app with public share reuse UI.

to check we hardcode values in manifest .we see below error in console .

manifest

xs-app.json

{ "welcomeFile": "/index.html", "authenticationMethod": "route", "routes": [ { "source": "^/public/(.*)$", "target": "/public/$1", "authenticationType": "none", "destination": "sdibackend" },

Thanks,

Phani