问题
On button click action "Redirect to URL" I call below script:
javascript:var a = window.open('f?p=300:99:&APP_SESSION.::NO:105:PARAM_1,PARAM_2,PARAM_3:&P99_PARAM_1.,P99_PARAM_2,&P99_PARAM_3.');
Is it possible call this from PLSQL in oracle apex application eg.
begin
//call here
//htp.p(??
end;
回答1:
You can use APEX_UTIL.REDIRECT_URL for this. Check the documentation. Your pl/sql would then be (bind var syntax :P1_ITEM because it is pl/sql):
BEGIN
apex_util.redirect_url(p_url => 'f?p=300:99:'||:APP_SESSION||'::NO:105:PARAM_1,PARAM_2,PARAM_3:'||:P99_PARAM_1||','||:P99_PARAM_2||','||:P99_PARAM_3);
END;
来源:https://stackoverflow.com/questions/58835837/redirect-to-url-in-new-tab-from-plsql-code