D2 4.5 + Creating Custom Menu to Execute a method that Accepts an ID from the user and creates a rep

sunil_sharma_2005
edited January 22, 2016 in Documentum #1

Hi,

I am trying to create a custom D2 Menu and action that will prompt the user for a case ID and then will execute a method that will internally using the following DQL command:

EXECUTE do_method WITH method = '<methodname>', arguments = '-user_name <> -docbase_name <> case_id <caseid>'

This method generates a report based on the case id and emails it to the user.

Has anyone done something similar before? Appreciate your help.

SS

Tagged:

Comments

  • Antal Bos
    Antal Bos Member
    edited August 27, 2015 #2

    Hi Sunil,

    We would create a new menu item that shows a property dialog for selecting the case.

    Next create a plugin that extends the DialogService and execute the do_method call from the validDialog method.

    Best regards,

    Antal

  • Mayur_shivs
    Mayur_shivs Member
    edited January 22, 2016 #3

    Hi ,

    Could you please help on this

    Regards

    Mayur Mitkari