How to get the user input to dynamic Action confirmation message?

Hi guys,.

I use apex 4.1.

I added a page dynamic Action confirmation message box. How can I get the user input to the confirmation pop up?

Thank you

Hello

you do not directly get user input. But you should still be able to get what you want. Suppose you have a dynamic action which fires for a 'change' (or other) and who has two or more actions

(1) confirm
(2) execute the PL/SQL Code

If the user clicks Cancel/no in the confirm dialog box, APEX stops execution of this dynamic action and not run "run the Code in PL/SQL.

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

Tags: Database

Similar Questions

  • [MAF] How to get the user name and password after login?

    Hi Experts,

    I have a call to REST where it requires identification information of the user (uname and password) to identify the data that belongs to who.

    Authentication has been made with OAuth.

    I believe that there is an API to get the user name and password in the CRG

    See you soon,.

    Hendry

    Hello.

    You don't need to manipulate the credentials yourself in code. MAF will propagate the logon cookie or inject the identification information in the HTTP header if cookies are not supported.

    To do this, you must select the purchase option of cookie from the server connection Include in REST in the dialog box create a connection Login MAF , such as discussed here:

    http://docs.Oracle.com/middleware/maf210/mobile/develop/MAF-securing.htm#ADFMF23732

    In addition, you must attach the policy of security appropriate to the connection, as explained here:

    http://docs.Oracle.com/middleware/maf210/mobile/develop/MAF-Web-services.htm#ADFMF23697

    Best regards

    Frédéric Desbiens

    Senior Product Manager

    Mobility and Cloud oracle

    Twitter: @BlueberryCoder

    blog: http://blogs.oracle.com/blueberry

  • How to get the user name during the execution of a workflow?

    Here's what I would do:

    Say that each user is allowed to have 4 instances QA, create a workflow when a user run from vCenter plugin, it must be able to get the user name of the SSO user jsmith, and then he questions if there is an existing virtual machine jsmith_qa1, jsmith_qa2,jsmith_qa4, etc., if there isn't one, then create one for him; If not, indicate to the user that there are already 4 cases.

    I found that I can use getCurrentLdapUser to get [email protected] , now I want to remove the domain.name (there are several areas):

    username = actionResult.userPrincipalName.replace ("@[a - z].") +","");

    This does not work. Anyone know where I can find the right document for the document script of vRealize Orchestrator?

    Thank you!

    Jack

    vRO uses javascript as its scripting engine.

    UPN var = actionResult.userPrincipalName;

    var username = upn.substring (0, upn.indexOf("@"));

    Something like this will give what you want. You could also do a replacement, but I think that you should remove the quotes around the regex and use "/" instead.

    username = actionResult.userPrincipalName.replace (/ @[a - z] "+ /," "");

    Paul

  • How to get the user clicks SeriesName APEX 4.2 flash chart and defined on a hidden element?

    Hello

    I'm developing a graphic clickable flash of APEX, which should be linked to a specific set of data on another page using the SeriesName (clicked several sets of cards).

    (Returned by a function) sql for APEX chart is

    Select distinct null link, d. DNAME label
    , sum(e. SAL ) over (partition by e. ( DEPTNO salary ( )
    , sum(e. Comm ) over (partition by e. DEPTNO ) comm
    de d Dep. , emp e
    e. DEPTNO = d . DEPTNO

    Currently I am able to disply SeriesName (e.g. salary or Comm) on the 2D chart. This is done by including {% SeriesName} Custome XML.

    But I am unable to detect which series name, the user clicks on - pay is comm.  for example, I am not able to enter the name of the series clicked and set it to a hidden item (called P38_SERIES_NAME).  I have to use JavaScript to achieve this? If so, how?

    The reason why I want to use the unique sql is due to that I will have to call a function to return the dynamic and running sql code, I don't know how many series I. i.e. could be comm, average age, salary, bonus etc...

    What is the easiest way to achieve this?   I use APEX 4.2 and Oracle 11 g.

    Thanks for your advice.

    Concerning

    Susanna Su

    Susanna,

    What you experience is the difference between session state and the value of the element on the page. The URL you have is generated on the rendering of the page and use the value of current session state of the question right now. Then when the page is on the client side and that you set the value of the item through javascript this value is still next to the customer and not in session state. Put the value in session state would not matter, however, because the link has already been made. Your best option is to send the page, ensuring the correct value is set to session state and use a branch in present after the process to redirect the user to the correct page.

    I have also described this here: https://forums.oracle.com/message/11110579#11110579

  • How to get the user directory in HTML5 extension?

    Hello

    It may be too easy as well, but I am running with no luck here.

    I am beginner in developing extensions to HTML5. First time I'm developing InDesign CC extension in HTML5. Before that, I used it to develop in Flex (AS3). SE directory of the user with the AIR API was pretty easy with the File class as: (File.userDirectory.nativePath). But with the HTML5 extension I do not know how to get it with Javascript.

    I tried with two or three ways but no luck.

    I tried:

    var systemPath = new SystemPath();
      alert(systemPath.APPLICATION);
    

    It says no "defined."

    I also tried with a different API:


    var tmpDir = OS.Constants.Path.tmpDir;
    

    It says «Undefined OS»

    Can someone please advise on this?

    Thanks in advance

    Mac

    Try this,

    var csInterface = new CSInterface();

    Alert (csInterface.getSystemPath (SystemPath.user_data));

    You can follow this link,

    http://www.davidebarranca.com/2014/01/HTML-panels-tips-2-including-multiple-jsx/

    Thanks to M. Davide, his advice will help a lot of newbies (whose too)

    It will be useful,

    Best...

    AI

  • How to get the user name in "atfer serverror" trigger?

    Hi people;

    How do I get the name of the user who simply lack connection to the database in a trigger "after serverror"?
    The code of the trigger:
    create or replace
    TRIGGER TRG_LOGGON_FAILURES 
    AFTER SERVERERROR ON DATABASE 
    BEGIN
      IF (IS_SERVERERROR(1017)) THEN
      UPDATE utilisateur_ora SET UTO_STA='BLOQUE', UTO_DATE_STATUT=sysdate WHERE UTO_USR_GPL=<var_user>;
      COMMIT;
      END IF;
      
    END;

    11.2 you can use

    sys_context('userenv', 'authenticated_identity')
    
  • How to get the user name in a workflow?

    I have a simple request of what appears to be a basic workflow step.

    I create a workflow that has the user approve/reject their own review as the first step of the workflow. My question is, how do I get the username of each document as it comes in the workflow?

    I read on wfAddUser. If that's what I use, how to use it and where I can add it to the Workflow screen?

    Thank you.

    I don't know exactly what you are after all in a row. You want to get the original author?

    The document is checked and the user name is registered. It is the only name available at the moment where the document to enter the workflow, which would be the only user attached to the content so far.

    have you tried looking at the dDocAuthor variable?

  • How to store the user input data and access to my reports?

    Hello

    I'm using: RunState.Root.Locals.StationInfo.StationID = Step.Result.Response expression in my sequence Meassage Popup, to get the ID of the station at run time and save it on my report. So far, it works.

    Problem:

    My goal is to buld an exectible that is deployed to other machines, which will require a time of entry of the Station ID and used on all reports. for example even if I restart the execitable, for the program to get it saved ID and place it in the report.

    Where should I keep the ID? How can I including accessing and inserting new reports?

    By default, the data in the StationInfo container should be contained in the report, so you can just have a statement similar to:

    RunState.Root.Locals.StationInfo.StationID = StationGlobals.CurrentStationID

    You would have this statement at the point of your sequence when you want to determine if a guest must be displayed to enter the ID if it does not exist.

    Hope that helps, let us know if you have other questions about this!

  • "Changes Made" during the closing - how to get the user's response?

    When you press the close button after the change of some fields in text on a form, how can I find out what the user has selected? (Save, delete, cancel)

    Hey,.

    I found this link:

    http://www.BlackBerryForums.com/developer-forum/184021-save-discard-cancel-prompt-capture-button-SEL...

    After reading it, I wrote a little lil of the code.

    public boolean onSave()
        {
            Dialog.alert("Saved Data");
            return true;
        }
    

    It works for me and made the work of what I need. In my application, I want to save the data that a user makes when they leave the page. This code is called if 1) a change has been made on the page, and 2) if the user clicks on the "Save" option in the save/discard/Cancel dialog box.

    Hope that helps

    Mike

  • How temporary disable the user input?

    I want to input from the user to disable temporary (mouse and keyboard) so that a task is the treatment to avoid the unwanted problem.

    setEnabled() false on framework allows to disable everything and it works like I want to, but it also stop the user to close and move the frame that is not I want.

    any suggestion?

    Thank you ~.

    works for me GlassPane http://download.oracle.com/javase/tutorial/uiswing/components/rootpane.html, two examples for this http://www.java2s.com/Tutorial/Java/0240__Swing/1321__GlassPane.htm, the best solution for this on the blog http://tips4java.wordpress.com/?s=glasspane of the camickr, another... on google

  • How to get the user name of the user logged into the E-Business Suite in OFA

    Hi all

    I developed a few screens in OPS and recorded also in Oracle applications. I need to enter the user name of the user who has logged in to the E - Business Suite to access my Application OFA, so that depends on his user name I will post a welcome Message on my screen.

    Can someone please suggest how to achieve?

    With our thanks
    Gerber

    Use pagecontext.getuserId or pageContext.getUserName in your controller

    Thank you
    Kassy

  • How to get the text in a dynamic text field?

    Hello

    I would like to get the text in a text field I have on stage and put it into a string. I do this because I don't don't want to use the table to store each letter I click. Is this possible?

    Concerning

    you don't know.  You can use the text property of your textfield object and store that value in a variable.

    You can use a click on a button to trigger this code or change event of the textfield or any number of other triggers.

  • How to get the user name?

    Is there any place where the username is stored and can be accessed by javascript? I doubt it is stored anywhere that is accessible to the script.

    Other than a logon dialog box and asking the user entry is possible that he could be automagic?

    See http://forums.adobe.com/message/1109507#1109507

  • Get the user that is executing Action in the Validation event handler

    I know you can get UserLogin actor using ContextManager.

    I would like to know if there is another for the user who executes the action (the actor) in a validation event handler.

    Ideally I'd like the usr_key of the actor.

    using the AuthenticatedSelfService api you can do. There is a methodgetProfileDetails(java.util.Set retAttrs)

  • AS3: How to get the size of a dynamically created text field

    I'm importing text from an XML file and lines of text to display in the text separated under the other fields. How can I set the value y of each text field following so that there is little space (40 pixels or more) in the field above, regardless of the length of the text? Here is my current code. Any help would be greatly appreciated.

    var textArray:Array = new Array();
    for (var i: int; i < myXML.TOPIC [0].) QUERY.length (); i++) {
    var textField:TextField = new TextField();
    textField.htmlText = myXML.TOPIC [0]. QUERY [i]. QUESTION;
    textField.x = 100;
    Here's my problem... I want the value of is based on the height of all the previous text fields that have been created

    textField.y is 100 + (40 * i);.
    textField.border = true;
    textField.width = 800;
    textField.textColor = 0 x 000000;
    textField.multiline = true;
    textField.wordWrap = true;
    textField.selectable = false;
    addChild (textField);
    textArray.push (textField);
    }

    Separate the variable of the loop that you update in the loop to keep track of the current value of y.  The current value of there would be updated to the previous value, the height of the textfield newest once it was filled with text.

Maybe you are looking for