cancel
Showing results for 
Search instead for 
Did you mean: 

SAP BTP DMS Integration Option File Weblink Error

rauf_shaikh
Active Participant
0 Kudos

Hi All,

I have configured reuse component of SAP BTP DMS Integration Option in my custom UI5 application.

I am able to upload files etc.
For access control I have created a role collection in subaccount and maintained the same in role collection user in SAP DMS Reuse component app in Access Control tab of file properties menu.

Now when I try to access the file using weblink I get File not found error.

Can you guys please check below images and help please?

-Regards,

Rauf Shaikh

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi Rauf,

The issue is happening because currently the consuming app which you have built to embed Document management is not aware of this particular route. So what you can do is you can define the routing pattern in the manifest file. For e.g

"routing": {
"config": {
"routerClass": "sap.m.routing.Router",
"viewType": "XML",
"async": true,
"viewPath": "com.sap.test.view",
"controlId": "appFiori",
"controlAggregation": "pages",
"clearControlAggregation": false,
"bypassed": {
"target": "notFound"
}
},
"routes": [
{
"pattern": "documents/v1/open/rep={repoId}&obj={objId}&vs={versionSeriesId}",
"name": "DocViewVsIdOpen",
"target": "DocView"
},
{
"pattern": "documents/v1/open/rep={repoId}&obj={objId}",
"name": "DocViewOpen",
"target": "DocView"
},
],
"targets": {
"DocView": {
"viewName": "DocView",
"viewLevel": 1,
"viewId": "DocView"
},
},
},

In manifest you can define the route pattern(shown above) and from your controller you need to to call

requestNavigationAndOpen(sRepositoryId, sObjectId, sVersionSeriesId);

whenever this particular route is matched.

former_member664730
Participant
0 Kudos

Hi Tapishnu,

I have added route pattern in manifest file but still i am getting file not found error .

m.txt attached manifest file . please provide some inputs.