I have a sub region on an Apex 19.2, i would like to download the code inside in pdf. I have an idea of chaging the mime-type of the page, but i would like to know the best way to do this. Does it possible to be done?
I have tryed some google int with htp.p() but that doesnt works! I can't use pl/sql package because the content can't be hold in a clob
Here is what i have tryed inside the subregion.
htp.p('Content-Disposition: attachment; filename="myfile.pdf"');
but all this do is writing Content-Disposition... to the screen! :)
Any idea? Thanks for your help.