Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Open a Modal Dialog Page from a Button DA in the same Application

HansMueller69Dec 18 2023

Hello

It is a very simple question but I can not find a solution. My Apex version is 23.2.

I have on the Interactive Grid a Button and in the DA I would like to open an other (for example IMPORT-Page as Dialog)

var importPageURL = apex.page.get_url({  p_page : 9901
                                     , p_items : null /*'p80_step_id,p80_node_type'*/
                                     , p_values : null /*:p72_node_id || ',' || :p72_node_type*/
                                     , p_plain_url : true
                                    });
apex.navigation.dialog
  (  importPageURL
  , 
    { title: 'Dialog-Titel'
    , modal: true
    , height: '400'
    , width: '600'
    }
  , 'POPUP'
  , $('#id_action_button_import')
  );

I get the error message: apx.page.get_url does not exist… OK. But I would like to create the friendly URl not this complicated with PREPARE_URL.

Could you help me? Thanks.

This post has been answered by HansMueller69 on Dec 21 2023
Jump to Answer
Comments
Post Details
Added on Dec 18 2023
15 comments
2,194 views