Is there any way to create a Webtop DRL link so that it instead of asking whether the user wishes to VIEW / EDIT/ ANNOTATE, it goes straight to EDIT mode and just opens up the document, bypassing the question altogether?
Thanks
bgs264
If there are Accepted Answers, those will be shown by default. You can switch to 'All Replies' by selecting the tab below.
Hi Ben,
The DRLComponent is the one shows the View/Edit/Annotate/Close buttons. These are shown based on the user's access on the document. If you are sure that users with Edit access will only access your DRLs then you can consider passing an extra token in the url and intercept the same token from DRLComponent and launching Edit action directly.
In this case other DRLs will also work but they are presented with View/Edit buttons, if you have the special token in DRL then it launches Edit directly
-Siva
link content handling is done in the DRL Component (see: drl_component.xml). See how folders are opened directly, and do something similar for documents, but using the edit action
One more thing, you can construct the drl by using following code in component behavioral class:
HttpServletRequest request = (HttpServletRequest)getPageContext().getRequest();
String partialURL=DRLComponent.constructDRL(<objectid>, <version>, <format., this);
String url=makeFullUrl(request,partialURL);
Regards,
Arindam
Hi. Thanks for the above replies.
Brian, I don't wish to change the configuration as this would affect every DRL link as I understand it?. I just want to be able - for some links - to open it in Edit.
dm_user - Thanks however, I am building the link from an ASP.NET application. I generate a document, store it in Documentum, then wish to present an "Edit" link for the user to click on to open their document in Word, save, then check back in.
Thanks again
Ben
DRL component handles all links. Therefore you have two choices
Obviously you need to construct the DRL link in the .Net app. The DRL link format rarely changes. Construct a few and you easliy see how it is formatted. Use Webtop "Email as Web-Link" on File menu,