Hello,
I need to create a formatted text file that I want to return to user's browser and after this file is generated to completely refresh/reload the page (accordingly enable/disable buttons, show file generation statistics and results etc.).
So I created one page with report based on a table where the file stats are saved, submit button + branch to another blank page with the page process that generates the text file (htp.p) and finally updates the file stats table (as I dont want to render the rest of the page, the text generation process ends with apex_application.stop_apex_engine). And now I need to refresh the first page.
I think it should be possible with timer plugin that periodically checks the file stats table and reloads the page as soon as it finds appropriate fields filled but maybe there is something more elegant.
Any suggestions would be highly appreciated.
Thanks,
Pavel