cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Document Center opening a file fails

JVLebbink
Explorer
0 Kudos

I’ve implemented a Document Center connector for Archivelink using a subclass of CL_CMIS_ABSTRACT_SERVICE. My plan was to return an URL, but it does not seem to work.I've changed this to returning a content stream. This does not work either.

I can't open the file in any way. When clicking the button 'Open in Desktop' the CMIS jumps to the following ‘URL’ and then the browser (firefox 53) shows an error (chrome does nothing, IE gives the option to download a program to open the file).

doccenter://v1/open?rep=382372b3-e9e3-4190-91db-b4a63a546ad7&obj=root%7CBKPF%7CKB0119000000062017%7C5254000000B21EE792D832D6B506880E

In the method GET_REPOSITORY_INFO I’ve set the DEFAULT_CONTENT_DELIVERY to CL_CMIS_CONSTANTS=>CONTENT_DELIVERY-URL when I wanted to return the URL and to CL_CMIS_CONSTANTS=>DEFAULT_CONTENT_DELIVERY-FULL when I changed it the content stream.

The method GET_CONTENT_STREAM does not seem to be called at all, and the method GET_CONTENT does not exist in the interface IF_CMIS_SERVICE (although it is supposed to be the one to implement according to https://help.sap.com/viewer/c5bc243e9e824373a5e8de7c37b1dee1/Cloud/en-US/a3d87ed9f25347ecaace33db9b1...)

Is there some kind of special magic needed to get this working?

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member186016
Active Contributor
0 Kudos

Hi,

Open in Desktop opens the document using Desktop App. See: https://help.sap.com/viewer/ba2adb991f6e4b6a857e9f76a99402bd/Cloud/en-US/b2066f9f4825401ab64df8e18e0...

To view the file using Web App, you must click on the file name, in the list.

Regards, Ashwani Kr Sharma