How can i config a button to open a pdf
I use an iten as a File browse an add the dowload link option, an apex inner function, and it's work very well, i like to open the pdf like that apex option , does anyone knows how to open a pdf with that function in another button?
Before that, i used the URL redirect with javascrip but i got bad request, i used that parameter
apex_util.prepare_url(RETURN ('<img src="'||apex_util.get_blob_file_src('P23_FOTO','P23_ID')||'" />');); / javascript:window.open('<img src="'||apex_util.get_blob_file_src('P23_FOTO',:P23_ID)||'" />');
i using oracle apex 5.1