This procedure resets report settings to the developer defined default settings using the report ID.
The use of this procedure in a page rendering process causes report download issues (CSV, HTML, Email, and so on). When a user downloads the report, the interactive report reloads the page with download format in the REQUEST value. Any interactive report settings changes (such as add filter or reset report) are done in partial page refresh. Thus, the download data may not match the report data user is seeing. For this reason, Oracle recommends only using this procedure in a page submit process.
APEX_IR.RESET_REPORT( p_page_id IN NUMBER, p_region_id IN NUMBER, p_report_id IN NUMBER DEFAULT NULL);
Table 24-13 RESET_REPORT Procedure Signature 1 Parameters
Page of the current Application Express application that contains an interactive report.
The interactive report region ID.
The saved report ID within the current application page. If
The following example shows how to use the
RESET_REPORT procedure signature 1 to reset interactive report settings with report ID of 880629800374638220 in page 1, region 2505704029884282 of the current application.
BEGIN APEX_IR.RESET_REPORT( p_page_id => 1, p_region_id => 2505704029884282, p_report_id => 880629800374638220); END;