I am using Search Service (Documentum REST 7.3) to show list of documents (some metadata like object name, title etc.) in an Angular app.
Users want the ability to copy the URL of displayed documents, so that it can be shared with other users. Those users can then access the DocumentURL to view/download the document without having to go through the complete search process.
Webtop used to have DRL and D2 also has an intelligent URL function. Just wanted to know if there is something similar in Documentum REST.
One approach that I have in mind is to generate a URL to the client (Angular) with object ID of selected document (and have users copy this URL). May be something on these lines -
http://myApp/download/0933383736123456
Then in the download component, I fire a REST call such as (with object ID from above)
<restEndpoint> + '/' + <repositoryName> + '/objects/' + <objectID> + '/contents'
and stream the response to save is locally.
Would this be the correct approach to achieve a DRL type behavior or is there a better way to achieve this by just using REST and avoiding the client interceptor in between.