DRL
Hi everybody,
I had an application which uses the DRL to view the document from reposiroty.
(DRL: http://<hostname>:<port>/<application>/component/drl?objectId=<object_ID>&username=<username>)
Is there any way using which I can bypass the drl component that will directly open the document rather than showing options like Open/View/Edit/Annote etc.
If so, please provide me with sample drl.
Also will be happy to know which other parameters can be passed through drl..?
Happy Codding.
-Regards,
Swapnil
Comments
-
You can call directly the view action:
/app/action/view?objectId=your_object_id
0 -
Hi .
Below additional Parameters can be passed to DRL. Same is defined in your drl_component.xml file.
# Parameters
/* format (Optional) If the user can edit and view
the passed object, a user interface is
presented to allow the user to choose
the action. If no format is specified
for the action, the object's native
format is used.
*/
/* objectId (Required) ID of the object identified
by the DRL.
*/
/* versionLabel (Optional) Any labelled version can be
passed, such as CURRENT. If no value is
set for versionLabel and the object's
version is not current, an open current
checkbox is shown.
*/
#
# Elements
/* <defaultaccounts> Contains anonymous access login
information in one or more
<defaultaccount> elements
*/
/* <filter docbase='docbasename'> Optional filter to specify the account
for a single repository. Set the
repository attribute on this element to
the repository name.
*/
/* <defaultaccount> Sets up anonymous access for virtual
links.
*/
/* <username> Name of a user in the target repository
*/
/* <new-pw> Password for the anonymous user. Can be
encrypted with the Trusted Authenticator
Tool. Refer to Web Development Kit
and Client Applications Development
Guide for instructions.
*/
/* <domain> Optional network domain name for login
to the repository
*/
/* <logoffoncomplete> Set to true to log the default account
off and close the window after the DRL
action is performed
0 -
Hi Swapnil,
You can customize the drl component to directly view the document and bypass the view/edit/annotate.
The following post may be helpful:
https://community.emc.com/message/149614#149614
Thanks
Sandeep
0
Categories
- All Categories
- 111 Developer Announcements
- 49 Articles
- 103 General Questions
- 123 IM Services
- 40 OpenText Hackathon
- 31 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 897 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 123 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 1 XM Fax