2 Replies Latest reply on Jun 18, 2019 7:14 AM by Lucio_07

    Sending 'Apply' to IR's Dialog

    Lucio_07

      All,

      its about APEX 5.1

       

      I'm opening the IR's menu with JS:
      $("#P99X_IR_actions_menu").menu("find", "irReset").action();

       

      Is there a trick to send an 'Apply' to that appearing dialog_js

      so it proceeds without users interaction?

       

       

      Thx in advance
      lucio

        • 1. Re: Sending 'Apply' to IR's Dialog
          fac586

          Lucio_07 wrote:

           

          its about APEX 5.1

           

          I'm opening the IR's menu with JS:
          $("#P99X_IR_actions_menu").menu("find", "irReset").action();

           

          Is there a trick to send an 'Apply' to that appearing dialog_js

          so it proceeds without users interaction?

          What problem are you really trying to solve?

           

          Interactive reports can easily be reset using ClearCache URL parameters in a link, button redirect, or page branch.

           

          In cases where a full page refresh is not possible or desirable, use a dynamic action with an Execute PL/SQL Code step to call the apex_ir.reset_report API method, and another to Refresh the report region.

          • 2. Re: Sending 'Apply' to IR's Dialog
            Lucio_07

            Thx for your fast response.

             

            So my report is based on a collection which is refreshed depending on three checkboxes

            which are telling what filter to use for the collection. Every combination of the three boxes is possible.

             

            My reset button should finally be a onclick action which means checking all three boxes

            and at least refreshing the interactive report without performing a submit.

             

            If I have a DA with first checking the three boxes and afterwards running a PLSQL with  APEX_IR.RESET_FILTER now.

            But the button has to be pressed minimum twice

            to get the IR refreshed. What do I have to improve?

             

            Thx in advance

            lucio