Dynamic action of APEX 4 relaxation of report

I have an application that queries and displays a report and has a column of link to a custom url.  I don't want to trigger dynamic action to open the url customized loading Page.  I can't find another way to trigger the url.  In my report of Apex successfully it seems unable to find a DOM object or jquery Selector that will trigger my dynamic action. I have all of the elements that I can return.

Event: click on

Selection type: I tried jQuery Selector and DOM object, but unable to find the exact entrance to enter the field

Condition: No conditions... maybe if I knew what condition to enter in it can help you.

Action: Run the JavaScript Code

Fires when the result of the event is true

Code: javascript:popUp2 ($v ('P1_URL'), 900, 900);

Oh, it seems simple enough, but it does not, unless I click on the button to fire on the loading Page.

I tried to assign the Click event and the Type of area selection, however, it will trigger the dynamic Action whenever I click anywhere in the region, not only when I click on a specific line.

Thank you.

These links can help you (if you mean by APEX 4 APEX 4.2):

Perform the dynamic Action of the link column report

Take multiple values report dynamic Action

http://Apex.Oracle.com/pls/Apex/f?p=9487:85:0

Tags: Database

Similar Questions

  • Dynamic action in Apex - automatic text field display based on the definition of value

    Hello

    I have two text elements. Need to create dynamic action for what follows,

    1 Order_number

    2 Order_type

    When a user enters an order number starting at 1, the order type should type should automatically posted as CONSUMER.


    When a user enters an order number starting with 2, the order type should type should be automatically displayed as COMPANY to another display null.

    Can anyone help please have solved this issue.

    Thanks in advance!

    Hi 2932464,

    2932464 wrote:

    Please change your login username of "2932464" to something meaningful. Reference: Video tutorial how to change username available

    I have two text elements. Need to create dynamic action for what follows,

    1 Order_number

    2 Order_type

    When a user enters an order number starting at 1, the order type should type should automatically posted as CONSUMER.

    When a user enters an order number starting with 2, the order type should type should be automatically displayed as COMPANY to another display null.

    Can anyone help please have solved this issue.

    Hereby you mean something like this: https://apex.oracle.com/pls/apex/f?p=52380:11:129938442406997:

    If Yes, then create dynamic action as follows:

    • Create a dynamic action on the Order_number change event say. P11_ORDER_NUMBER.
    • Event-> change, Type of selection-> item (s), article (s)--> P11_ORDER_NUMBER Condition-> is not null
    • Real Action-> to run the JavaScript Code
    • JavaScript code:
      var ordernum = $('#P11_ORDER_NUMBER').val();
      var startdigit = ordernum.substr(0,1);
      if (parseInt(startdigit) === 1) {
        $('#P11_ORDER_TYPE').val('CONSUMER');
      } else if (parseInt(startdigit) === 2) {
        $('#P11_ORDER_TYPE').val('BUSINESS');
      }
    

    I hope this helps!

    Kind regards

    Kiran

  • How to cancel tasks in a dynamic Action when apex.confirm = cancel

    I have a text field that has a dynamic Action attached to it. When the field is changed, the dynamic Action is triggered. There are 6 separate tasks in this dynamic Action.

    The first task is a call to apex.confirm. I want to assure you that the user understand the consequences of the change in the value of this field. Thus, appears the dialog box, the user reads the information and decides to click OK or cancel.

    If you click OK, I want to continue through the rest of the tasks in the dynamic Action. If you click CANCEL, I want to just give up out of dynamic Action.

    Is this possible?

    Apex 4.1.1.00.23

    Published by: Mark T. March 1, 2012 09:49

    Hi Mark,

    code, says more than words :-)

    I changed your "apex.confirm" JavaScript code in action 'Confirm' that does what you want. The "apex.confirm" JavaScript API is not designed for what you want to do and how you used it.

    The example works now in my opinion.

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Dynamic action real action is not available in the APEX 5.0

    Hi all

    We did the/import export of APEX 4.2 to version 5.0 of the APEX, but I am unable to find the real Action of dynamic Action in APEX 5.0. Can someone help me on this.

    Dynamic_Action_True_Action_Not_Available_APEX_5.jpg

    LnTInfotech wrote:

    We did the/import export of APEX 4.2 to version 5.0 of the APEX, but I am unable to find the real Action of dynamic Action in APEX 5.0. Can someone help me on this.

    Assuming that this refers to you being unfamiliar with the default constructor of app UI Page Designer in APEX 5.0. See "dynamic Page Designer action management" for more details. True/false actions appear as nodes in the dynamic Action of the left pane of the designer of Page navigator tab:

    If you do not use the Page Designer, you can move on to the familiar view of the component:

  • Dynamic action - update

    Re: Anthony sample application to demonstrate the dynamic action http://apex.oracle.com/pls/otn/f?p=39830:38

    It seems that native dynamic action Refresh (currently limited to the refresh of the regions report) simply refresh the content of the report by re-running the query. But if the region has text strings using the & POINT. Notation (for example in the header, the footer, or title), which is not updated.

    Am I missing something or is this a limitation of the Refresh action conceived as it is? I'm sure that the Apex Team plans to improve it in the next version, but is there a way to DIY in this version?

    Thank you

    Hi Vikas,

    Yes you are right that "Refresh" will just refresh the main region component. For example the report or in the future chart. But it won't refresh the content of the entire region.

    1. the reason for this is that a region may also have page elements that save session state are entrusted to him. If us would be updated to a region, the internal mapping of the name attribute of the INPUT tags could change based on conditions screen which screws up the whole would submit the treatment.

    2. the updating of the partial page regions (and in the future for graphics) only run the SQL statement set for component there and is the logically defined set for page rendering (for example, calculations, process,...). If a region would now use & Pxxx_TEST. to reference session state in the content of the region it would most likely be NULL or return a value of false if the values were recovered by an extraction process DML during page rendering (which simply writes in memory).

    Therefore we must consider whether we support in the future and perhaps allow him to some extent in place.

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Apex 4.0 interactive report row view dynamic action "after Refresh.

    Hello

    It seems that interactive report view row do not trigger the event "after refresh.
    I have not tested other events.

    I have taste.
    https://Apex.Oracle.com/pls/OTN/f?p=40323:76

    There is a dynamic action that show the alert by region "after updating' event.

    When you see a row, the alert is not displayed.
    Change record show no alert ether.

    Is it bug or missing feature?

    Kind regards
    Jari

    Hi Jari,

    I consider this a bug/feature missing as well. I filed bug # 10376989.

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • APEX 4: Dynamic Action to manipulate a search string in the interactive report

    Hello

    I have the following problem. I have an interactive report that shows a few columns and one of them has a barcode that has been saved as a numeric value for display in the column is something like ("123456789"). All works fine so far. If anyone 123456789 they will get the right line and all is well. Unfortunately if I scan in the barcode with a barcode scanner, he enters '01234567890'. I don't have nor the ability to reprogram the scanner BC and I can't change how the data gets displayed.

    So I thought I would create a dynamic action that is triggered when the contents of the textfield object change. So, I've created a dynamic action, selected jQuery and entered .apexir_SEARCH and the Change event.
    I then chose to run JavaScript and entered as cod:

    var newsearch = document.getElementById ('apexir_SEARCH').value.replace (/ ^ [0] + / g, ");
    var inputObj = document.getElementById ("apexir_SEARCH");
    If (inputObj)
    {
    Update of the value
    inputObj.value = newsearch;
    }

    So far so good. When I load the page and enter a value from a '0', it works like a charm and it removes the zero. But if I delete again on the page and the search filter, dynamic action will do nothing. I'm really confused, as if I just made a mistake in the JavaScript code or what is the reason, that the action runs only the first time. I have to reload the page and then it will still be to manipulate the string once, but the second time, it won't.

    I'm very happy for any help you can provide!

    Thank you
    Dennis

    Hi Dennis,

    The thing that comes to mind is to check that the scope of the event of dynamic action is 'live '. If it's on (default) bind, then when a partial page refresh occurs, action will not fire the first time. Direct fires each time.

    Hope this helps

  • Tips: APEX 5 r IR by a dynamic action after the text fields complete

    Hello I hope I can get assistance on this matter and thank you in advance for any information.

    I have an APEX 5 screen, that has 4 fields of entry of text and under this one IR that has these 4 parameters in its SQL where clauses.

    Now if I create a button that submits page or redirects to this page my report can be updated with the values of user entered without problem, basic stuff.  If I create the settings section as a dialog box model once again that I can get the update report as this dialogue submits the page as well as the report can refresh according to closed dialog option.

    What I struggle to reach is to allow the user to enter values in the text fields click on a button called 'submit' and there all stages of implementing dynamic action without page reloading.  I want user to P1_A, P1_B, P1_C, P1_D press on "submit" input, dynamic action that links the values entered into the fields, then fire another dynamic action that updates the State when the button is clicked / modified values what works the best.

    I am struggling to get this to work and I even tried to copy these settings and do them as hidden for example bind input P1_A to P1_A_Hidden by a dynamic action and have the report where clause =: P1_A_HIDDEN, but have not managed to get this working.

    It's possible?  I know its easy to simply send the page and make it work, but I want the experience to be quite uniform for the user and act as you never leave the page.

    I saw on the packages of the app in the chart example.  The bubble chart has a list selector (salary) and the table updates dynamically, it seems so that the process can occur, but I need the user to enter text and not use selection lists.

    My apologies if I missed any, but I can give you more if it helps.

    Concerning

    1972903b-5166-494e-8355-08d9d4006e96 wrote:

    Hello I hope I can get assistance on this matter and thank you in advance for any information.

    I have an APEX 5 screen, that has 4 fields of entry of text and under this one IR that has these 4 parameters in its SQL where clauses.

    What I struggle to reach is to allow the user to enter values in the text fields click on a button called 'submit' and there all stages of implementing dynamic action without page reloading.  I want user to P1_A, P1_B, P1_C, P1_D press on "submit" input, dynamic action that links the values entered into the fields, then fire another dynamic action that updates the State when the button is clicked / modified values what works the best.

    The button simply trigger a unique dynamic action of refreshment on the IR region. Session state for page elements must be processed automatically by specifying them in the property Page to submit Items of the IR region.

    Please ensure that you have updated your forum profile with a recognizable username instead of "1972903b-5166-494e-8355-08d9d4006e96": Video tutorial how to change username available

  • Dynamic action and report column

    Apex 4.2

    Theme 21

    IE8

    At the moment I have a report and a column displays a button

    "< input type ="button"name ="recreate"class ="buttongreen"value ="Synonyms to recreate"onclick =" recrea ("recreate", "' |)" owner | " (')' > ' action

    Then in my page header, I have little javascript

    function recrea (Request, user name) {}

    $x('P90_USERNAME').value = username;

    doSubmit (Request);

    }

    All of this works and sends the page and affects demand.

    Ideally, I would like to change this to a dynamic action, so I can display the gif to submit and overlay

    Can someone give me some advice please

    Gus

    Gus C wrote:

    Apex 4.2

    Theme 21

    IE8

    At the moment I have a report and a column displays a button

    '' action

    Change the HTML button for:

    
    

    (I recommend generating the HTML button in the attributes report using the HTML Expression to a derived column rather than in the report query).

    Then in my page header, I have little javascript

    function recrea (Request, user name) {}

    $x('P90_USERNAME').value = username;

    doSubmit (Request);

    }

    All of this works and sends the page and affects demand.

    Ideally, I would like to change this to a dynamic action, so I can display the gif to submit and overlay

    Create a dynamic action of executing JavaScript Code:

    Event: Click

    Selection: jQuery Selector

    jQuery Selector: [headers = 'ACTION'] entry

    Scope of the event: Dynamics

    Real Action


    Fire on Page load: NO.

    Code:


    apex.submit({
      request: "RECREATE",
      set: { "P90_USERNAME": $(this.triggeringElement).attr("data-owner") },
      showWait: true
    });
    
  • How to run dynamic Action when clicking on a link in a report

    APEX V4.2.3

    DB EA 11.2

    APEX listener V2.0.5.287.04.27

    13 blue-gray theme

    IE9.0.8112

    FF26.0

    I have classic report and I would like to launch a dynamic action (together a show has confirmed and the value of the alert, submit the page, then run a process) when the user clicks on a link in a report or click on #ID #.

    I can write the real actions that I just need to know what to write behind the report link that will serve as a trigger for the DA?

    Thanks in advance

    PaulP

    It's the link attribute

    onClick = "if (confirm (' do something for #ENAME # with EMPNO: #EMPNO #'")) {$s('P5_ENAME_CLICKED','#ENAME#') ;};$s('P5_ID_CLICKED','#EMPNO#');doSubmit()""

    It's getting a bit long on a single line, if you want, put it in a function

    However, fixed, forgotten pair of single quotes as soon as possible.

    Now you have 2 bind variables to use in the process of page after submit.

    : P5_ENAME_CLICKED and: P5_ID_CLICKED

    I've updated the example page, http://apex.oracle.com/pls/apex/f?p=14308:5

    Good luck.

  • Interactive report case triggering a dynamic action

    Hello

    My interactive report is built, based on the following query

    SELECT ID_OPERACION, NOMBRE_CLIENTE, TOTAL_PAGAR, APEX_ITEM. CHECKBOX (1, O.ID_OPERACION, "onclick ="f_UpdateCollection (this)"', a.c001") "Seleccionar"

    OPERACIONES o, apex_collections a

    WHERE the a.c001 (+) = O.ID_OPERACION

    and a.collection_name (+) = "OPE_COLLECTION".


    I use a collection because I don't want to lose the selected controls caused by paging.


    I would like to add a dynamic action that each time check box is selected, an element (P5_TOTAL_SELECCIONADO) summarizes the column TOTAL_PAGAR of all the checkboxes that are selected and each time a checkbox is unchecked the Total_seleccionado subtracts the value of the selected item.


    How can I do?

    Hi Eva,

    Please check again your application and see if it's what you thought.

    I made a few changes. First, here you were talking about P5_... the elements in your workspace apex.oracle, the page number is 1, so I changed the P5_... elements of P1_...

    Then, you let the fire on the boxes page laod on, but you don't want t function to begin to evaluate during page loading.

    There were also a few errors in the javascript code, I suggested. The VALOR_PAGAR selector was not correct, I've changed a little bit. Also all selected text values are strings and adding javascript strings will be just concatonate them. I made string number conversion for you, also taken into account that null values (P1_TOTAL_SELECCIONADO on page loading is null) cannot be cast to number.

    The result is:

    var VALOR_PAGAR = $(this.triggeringElement).closest('tr') .find ('td [headers = "VALOR_PAGAR"]') .text)

    var TOTAL_SELECCIONADO = $v ('P1_TOTAL_SELECCIONADO')

    VALOR_PAGAR = (isNaN (parseInt (VALOR_PAGAR) = VALOR_PAGAR)? 0: VALOR_PAGAR)

    TOTAL_SELECCIONADO = (isNaN (parseInt (TOTAL_SELECCIONADO) = TOTAL_SELECCIONADO)? 0: TOTAL_SELECCIONADO)

    var total = VALOR_PAGAR + TOTAL_SELECCIONADO

    $s ('P1_TOTAL_SELECCIONADO', total)

    This is the code to add checkboxes checked, false action is the same except for total, which is:

    var total = VALOR_PAGAR - TOTAL_SELECCIONADO

    Kind regards

    Vincent

  • can a column of 'link' (classic) report trigger a dynamic action?

    In order to avoid a complete package and following flicker,

    can the link associated with a column of the classic report

    somehow trigger a dynamic action?

    Something along the lines of

    1. run few PL/SQL (some parameter passing along)
    2. refresh a page region to reflect the changes brought about by the (1)

    In practice, I have a page that emerges already, master/detail

    with the need to manage another set of detail records.

    I can collect a bunch of fields that are not related to the db.

    and generate an insert + update via a button 'Add '.

    Then the report containing the details is updated

    provide visual feedback that a new record has been added

    Indeed, with a column 'delete '. The integrated link is

    currently a javascript that saves the underlying m and

    Removes the secondary details, but it involves a shipment

    and refresh the entire page. It can be avoided?

    (running apex 4.2.1)

    You can use the onchage event to create your dynamic action. Make sure that there is a hidden page element (value not protected). From your link to classic report column, set the value of the page element hidden by using the JavaScript API $s () that will trigger the dynamic action of the onchange event.

    javascript:$s('P1_HIDDEN_PKEY_ID',#ROW_PKEY#);
    

    Thank you!

    JMcG

  • Dynamic action not updated report every time

    Hi guys,.

    I have a page which downloads statspack reports from different servers and stores them in the APEX. As well as this, it also displays a summary of the data (top 5 events of wait & load profile info) where flat an icon: http://oi40.tinypic.com/295uxxg.jpg

    The table will refresh and display the data according to the value of P10_SNAPVAL (storage of the PK value).

    It is not that I expect to do the report (it is not updating the table). I have the following:

    Area PL/SQL dynamic content making the report

    Dynamic action

    -Event: change

    -Item: P10_SNAPVAL

    -Action: update

    -Element affected: Region - load (dynamic PL/SQL content) profile

    -Field of application event: I tried as well bind & live

    The value of P10_SNAPVAL is changed whenever the user place an icon of Penguin (this works because the graphic works).

    Anyone know why my current setup does not work with the table/how fix?

    Edit: It's something to do with me changing using javascript?

    $('img[name=summary]').mouseover(function() {
    var get = new htmldb_Get(null,html_GetElement('pFlowId').value, null,10);
    get.add('P10_SNAPVAL',$(this)[0].id.substring(3));
    var gReturn = get.get();
    document.getElementById('P10_SNAPVAL').value = gReturn;
    $("#c9485413559485976").show();
    $("#loadtab").show();
    });
    
    
    

    Edit 2: I tried:

    jQuery('#apexir_WORKSHEET_REGION').trigger('apexrefresh');
    

    and each apexir_WORKSHEET_REGION down id (apexir_REPORT, apexir_WORKSHEET, apexir_DATA_PANEL, 9587216508806437) but it is not updated the table of values for any of them. I thought that this call was made for normal day and reports of the IR, but I tried normal, he passed to IR and it is not refreshing. No errors in JS (according to firebug)

    On page 2, I changed:

    report area model was "no model", changed to "borderless region" - there must be a model.

    and changed the static ID of the area to "report_updrep" - because in javascript, we use this ID.

    Look, it works.

  • How to create dynamic action of the link column in the classic report

    I have an apex page to display a modal window using jquery. In the modal window, I have a classic report with a column of link I want to capture its click event.
    I thought I could create a dynamic action with selection of type = jquery selector. Not sure if I need to do anything on the link column and do not know the syntax
    jquery selector. Would appreciate help or direction?

    Always zip code using .

    ...\
    

    tags as described in the FAQ.

    I created a region of report with the following query:

    Select empno, ename, 'SELECT' from emp
    where (ename like '%'||ltrim(rtrim(:P2_SEARCHPU))||'%'
    or :P2_SEARCHPU is null)
    

    There is no alias specified for the "SELECT" column, Oracle uses so the content of the column as a default alias. It comes

    'SELECT'
    

    Instead of

    SELECT
    

    The necessary jQuery selector would be:

    td[headers="\'SELECT\'"] a
    

    However the need to release the single quote everywhere is a ticking time bug. SELECT an Oracle reserved word means use it as any type of identifier is either too smart.

    You should always use a valid Oracle identifier as an alias explicit when a column contains a literal value or a complex expression:

    select
        empno
      , ename
      , 'SELECT' link_text
    from
        emp
    where
        (  ename like '%'||ltrim(rtrim(:P2_SEARCHPU))||'%'
         or :P2_SEARCHPU is null)
    

    APEX will use the column alias LINK_TEXT as the ID attribute of the column header and the cells in the column will reference it in their headersattributes. The jQuery selector is:

    td[headers="LINK_TEXT"] a
    
  • Dynamic action, not shooting after having sailed on the next page of report

    I have a report and I want to show some additional details about a record when the mouse over a specific area.
    It works but only on the first page of the report to. After accessing the second report page dynamic action does not occur.
    After a page réactualisiez on the dynamic action fires.

    Here is an example on apex.oracle.com.

    https://Apex.Oracle.com/pls/Apex/f?p=28683:25

    When you hover the mouse over the image a 'test' alert (i) is displayed. Go to page 2 of the report, and nothing happens.

    What I did:

    Create a public page with a classic report with the request:
    select 
     "CUSTOMER_ID",
     "CUST_FIRST_NAME",
     "CUST_LAST_NAME",
    '&lt;img class="abstract" src="/i/menu/blue_info_16x16.gif"/&gt;' as "ID"
    from #OWNER#.DEMO_CUSTOMERS
    Create a dynamic action.
    Sign up for the mouse
    jQuery selector: .abstract
    Action: alert ('Test')

    Is this a bug or is there a different approach to this?

    Hi René,.

    Change DA dynamic extended event.

    Additional help is available here:
    http://docs.Oracle.com/CD/E37097_01/doc/doc.42/e35125/advnc_dynamic_actions.htm#CIHGAFFI

    BR,
    Marko Goricki
    --------------------
    http://apexbyg.blogspot.com/

Maybe you are looking for