This has me baffled. This code generates an invalid URL for a modal page:
v_url := APEX_PAGE.GET_URL (p_application => '250',
p_page => '4'
apex_debug.message('URL: '||v_url);
It generates
URL: #action$a-dialog-chain?url=fFpD250A4A16067681742932AAYES6p_dialog_csD7FNKQG53K3ymJ3CZCt_mFsoy67OE-JIcHSK6yPF1YB-mL7GYwsizsx0g2eWuruRZo7lxig8ZYXuQD7rXLZagZg&modal=true&appId=250&pageId=4&title=
which returns error:
Action not supported 'a-dialog-chain'
when using this generated URL (stored in pData) in:
apex.navigation.dialog(pData,{} );
Note: if the modal page is not chained, the generated URL uses a-dialog-open
, which does work.
This looks like a bug to me.