Forum Discussion

AngelaIp's avatar
AngelaIp
Ideator I
5 years ago
Solved

How to pass additional custom parameters in Form call?

Hi Community, I want to launch a custom Form from an CommandBarMenu CUI event. Users can select multiple items in the grid and then click the CUI button. Then a form shall open up in which users ca...
  • Truc_Nguyen's avatar
    4 years ago

    Add the below code to your Aras method. Hope this helps


    wnd.ArasModules.Dialog.show('iframe', params);

    -----in your ShowFormAsADialog.html---------------------

    addd this line

     var  args = window.frameElement.dialogArguments; // get the params from Aras method