DRL

Options
swapnil.pagar
edited August 26, 2013 in Documentum #1

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

Tagged:

Comments

  • Alvaro_de_Andres
    edited August 26, 2013 #2
    Options

    You can call directly the view action:

    /app/action/view?objectId=your_object_id

  • HarshV@rdhan
    edited August 26, 2013 #3
    Options

    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

  • Kumar.S
    edited August 26, 2013 #4
    Options

    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