Forms alert message

Is it possible to control the position of where to alert message display on screen (like LOV window)?
NB: I am deploying the forms on Intranet via oracle application server.
Can anyone help?
Thanks in advance,
Stan

Sze,
no. The alert dialog always comes up in the center of the form.
Frank

Similar Messages

  • Infopath form Alert message

    I wonder if it is possible to have initial InfoPath form open that has a warning and describes what the form is used for.
    Than have either an OK or Continue button which would open the Request Form.
    I already created a Request Form which is submitting the requests into the SharePoint List.
    simam

    Hi Simam,
    Browser enabled InfoPath form does not support alerts (message box).
    One work around is to create a new view within the Request form and make this new view as default view.
    Inside the view you could add two buttons, one for continue and another one for close.
    if the use clicks Continue, you can create a rule to show (Switch view) Request form and Close button with Close Rule.
    One important thing is you should disable switch view while publishing your form.
    here is a reference to get started -
    http://office.microsoft.com/en-us/infopath-help/add-delete-and-switch-views-pages-in-a-form-HA101732801.aspx
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if my reply helps you

  • Display alert message On successful submission of a form

    I am trying display an alert message on a portal form when a user has saved their changes. I put the following code in the "On successful submission of a form" section.
    It does the go URL correctly but it does not display the alert message.
    url2 := 'PORTAL.wwa_app_module.link?' ||
    'p_arg_names=_moduleid&p_arg_values=' || l_module_id ||
    '&p_arg_names=_show_header&p_arg_values=YES' ||
    '&p_arg_names=_school_cond&p_arg_values=%3D' ||
    '&p_arg_names=_teacher_id_cond&p_arg_values=%3D';
    go(url2);
    htp.p('<SCRIPT LANGUAGE="JavaScript1.1">');
    htp.p('alert("Transaction complete... Class/Period Attendance has been posted to database.")');
    htp.p('</SCRIPT>');
    END;

    In Forms, you have "call" and "go" interfaces. You can provide the calling page URL in "go" interface.

  • Printing alert message in a jsp form a common file.

    Hi all,
    I have a file in which i have to print an alert message. Now the contents of the alert msg are in a common file with the extension" .properties ". in this .properties file the msg that has to be printed is kept in the following manner
    errors.abc.trialMsg=Hi.
    so now i have to do something like this
    alert("Hi");
    except that it cant bee hard coded in the jsp itself but has to be as a constant in the .properties file.
    something like alert(errors.abc.trialMsg);
    but im not sure what should be the correct syntax for it to work....cud someone help me.

    <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
    <fmt:message key="errors.abc.trialMsg"/>Pozz
    Rale

  • How to add an Alert Message

    Hi, what steps must I take to add an alert message that reminds the Adobe Reader end user to Print their form if they wish to keep a record of their form data.
    Also, where should such an alert appear, when and upon which event type?
    Harry

    Thanks Jimmy, unfortunately it doesn't work on my Submit button (which is where I do want it).. Here's what I have on the standard Submit button.
    ----- form1.SF_P8.SF_print-submit.EmailSubmitButton::click - (JavaScript, client) ------------------
    xfa.messageBox("Please ensure you also print a copy for your records", Warning, 1, 1);
    this makes my button do nothing at all, not even submit. I think it's because there are 2 events associated with it, the invisible "submit" and the new warning. Any suggestions?
    Harry

  • How displaying an alert message called from a database procedure

    Hi,
    How can I display an alert message that is called from a database procedure.
    I've tried the following code:
    l_al_button NUMBER;
    l_al_message VARCHAR2(80);
    l_al_id ALERT;
    Set_Alert_Property(l_al_id, alert_message_text,l_al_message);
    l_al_Button := show_alert(l_al_id);
    When trying I receive an error that says that the word ALERT need to be declared.
    Any suggestions?
    Thanks

    Hi,
    leave the procedure without error handling.
    This is what you can do:
    1.Inside the database procedure-
    BEGIN
    RAISE_APPLICATION_ERROR (-20001, 'The chosen length of the Public Key Exponent ....');
    END;
    2.Into your Form -
    BEGIN
    EXCEPTION
    WHEN OTHERS THEN
    IF sqlcode = '-20001' THEN
    Display Your Messages.
    END IF;
    Monica
    END;

  • Alert message in pl/sql code

    I have a form based on procedure and i want when the procedure executed to appear an alert message. The form is as a portlet to a page. This is the code in the procedure
    htp.p('<SCRIPT>alert("my message");</SCRIPT>');
    The problem is that after the allert message, appears a page with a green icon and a 'back to form' link.
    I want to click on the OK button and returns to the same page. Can anybody tell me what have to do?
    Thanks

    I add the go procedure to the "On successful submission" but when the form is executed returns to the page without appears the alert message i want.
    In fact i want to execute the form and to appear a message in a form like as the message which appears in a form when an optional field is null. That missage is "item_name cannot be null".You click the OK button and continue to the same page. I want that functionality when the form is executed. For example when the form is executed i want to appear the message "The procedure was successful" and the user have to press only the OK button and continue explore the same page.
    Remember that my form is on store procedure and the allert code is in the procedure's body
    Thanks

  • Alert message error - need help

    I'm very poor in the javascript department when developping PDFs and I would need a little help with this issue.
    On one row, I would need field C to check on exit if Field A is larger than field C. If field A is not larger, then I need an alert message to pop up and say "Field C cannot be larger than field A." and then the cursor would return to field C, and the value of field C would become 0 (zero).
    I've tried a few ways, but I do not seem to be getting it right. Any one have a clue how to do this effectively?
    Thank you!

    It would appear that there isn't. The sample I posted worked for me, which makes me think there are other factors involved such as:
    1. What version of compatibility are you saving the form as? (I saved it as compatible with 8.1 or later)
    2. What program is being used to open the pdf? (I used Acrobat 8.1.6)
    3. Is the user actually clicking the button with the mouse or simply hitting the Enter key to answer the pop-up? (I clicked it)
    4. Machine OS (I'm using 64-bit XP, Service Pack 2)
    Something else is going on that is making the pdf perform differently, maybe something as simple as the form moving outside the environment it was created in. No matter what the reason is, controlling the focus is the issue and it doesn't look to be something we can control reliably.

  • Alert Message and linefeeds

    I can create a multi-line alert in the Forms 6i Builder, Alert Property Palette, in the Message by using the editor window and typing and using the Enter key to break the line. When I close the edit window, the text shows up on the property with a box where the linefeed is. If I cut the box and paste it into a different editor, I see it is actually the chr(10) linefeed character.
    When I compile and run the form on Web Forms 6i, the message displays as a multi-line message, with linefeeds where I wanted them.
    However, I cannot use Set_Alert_Property to set the message. The Chr(10) characters are displayed on the web forms as a square box.
    An earlier topic here reported that using \n or /n in place of chr(10) would work in Web Forms, but I cannot get either to work.
    So if anyone knows how to use Set_Alert_Property to set the message containing a linefeed that works on Web Forms 6i, I would really like to know.
    Thanks in advance.

    Ok, upon further investigation, I found that I was mixing alert messages with stacked messages via the Message command. We use a generic PLL_ALERT call to display popup windows. It checks to see if an alert named 'ALERT_001' is defined in the current fmb, and if so, AND if the message is less than 200 characters, uses the alert. If there is no alert defined or if the message is more than 200 characters, uses the stacked message command.
    It is in the stacked message on the web where both CHR(10) and CHR(13) do NOT work.
    Here is what I found:
    CHR(10) starts a new line for:
      Forms6 client/server alert
      Forms6 client/server message
      Forms6 web alert
      ***fails (space) Forms6 web message
    CHR(13) starts a new line for:
      Forms6 client/server alert
      Forms6 client/server message
      ***fails (a box) Forms6 web alert
      ***fails (a box) Forms6 web message
    CHR(138) starts a new line for:
      ***fails (S) Forms6 client/server alert
      ***fails (S) Forms6 client/server message
      Forms6 web alert
      Forms6 web message
    The CHR(138) 'S' has a curve (umlaut?) above it in Forms6 client/server.
    Here is the code I used in a key-dup-item trigger to get my results above:
    DECLARE
      msg VARCHAR2(300) :=
        '____long_line_to_set_alert_window_width____ '
        ||'CHR(10)---a'||CHR(10)||'b---'
        ||'CHR(13)---c'||CHR(13)||'d---'
        ||'CHR(138)---e'||CHR(138)||'f---';
    BEGIN
      SET_ALERT_PROPERTY('ALERT_001',ALERT_MESSAGE_TEXT,msg);
      IF SHOW_ALERT('ALERT_001') = 0 THEN NULL; END IF;
      -- stacked messge --
      MESSAGE(msg);
      MESSAGE(' ',NO_ACKNOWLEDGE);
    END;

  • Alert message and timeout PJC

    Hi,
    We are using timeout PJC  functionality for our web forms. It's working fine and the form application display the alert/message whenever inactivity time reaches(which is set for 30 minutes). The issue is when you minimized the form application by clicking the browser's minimized button and now let say you are working in Toad or some other application and in a mean time your form application which is minimized and its inactivity time reaches but the alert/message is hidden with the minimized form application. Is there anyway to show the alert/message in my current working window/application? Any advise/suggestion please?
    Thanks
    RM

    Hi Francois,
    The frmall.jar is already in C:\Oracle10g_ds\forms\java location. But still when i try to compile TimeoutPJC.java in jdeveloper i get the comilation errors.
    Compiling...
    C:\Oracle10g_ds\jdev\bin\ojc.exe -noquiet -warn -nowarn:320 -nowarn:486 -nowarn:487 -deprecation:self -target 1.2 -encoding Cp1252 -g -d C:\Oracle10g_ds\jdev\mywork\Application1\Project\classes -make C:\Oracle10g_ds\jdev\mywork\Application1\Project\classes\Project.cdi -classpath C:\Oracle10g_ds\jdk\jre\lib\rt.jar;C:\Oracle10g_ds\jdk\jre\lib\i18n.jar;C:\Oracle10g_ds\jdk\jre\lib\sunrsasign.jar;C:\Oracle10g_ds\jdk\jre\lib\jsse.jar;C:\Oracle10g_ds\jdk\jre\lib\jce.jar;C:\Oracle10g_ds\jdk\jre\lib\charsets.jar;C:\Oracle10g_ds\jdk\jre\classes;C:\Oracle10g_ds\jdev\mywork\Application1\Project\classes -sourcepath C:\Oracle10g_ds\jdev\mywork\Application1\Project\src;C:\Oracle10g_ds\forms\demos\timeout\src;C:\Oracle10g_ds\jdk\src.zip C:\Oracle10g_ds\forms\demos\timeout\src\oracle\forms\demos\TimeoutPJC.java
      compiling C:\Oracle10g_ds\forms\demos\timeout\src\oracle\forms\demos\TimeoutPJC.java
    [1:07:42 PM] Compilation complete: 6 errors, 0 warnings.
    Project: C:\Oracle10g_ds\jdev\mywork\Application1\Project\Project.jpr
    C:\Oracle10g_ds\forms\demos\timeout\src\oracle\forms\demos\TimeoutPJC.java
    Error(46,28): cannot access class oracle.forms.engine.Main; file oracle\forms\engine\Main.class not found
    Error(47,29): cannot access class oracle.forms.handler.IHandler; file oracle\forms\handler\IHandler.class not found
    Error(48,32): cannot access class oracle.forms.properties.ID; file oracle\forms\properties\ID.class not found
    Error(49,24): cannot access class oracle.forms.ui.CustomEvent; file oracle\forms\ui\CustomEvent.class not found
    Error(50,24): cannot access class oracle.forms.ui.VBean; file oracle\forms\ui\VBean.class not found
    Error(52,33): class VBean not found in class oracle.forms.demos.TimeoutPJC
    Thanks RM

  • Dynamic alert messages

    Hi All,
    I have got alert categories created by client,I have to use alert categories and dynamic alert message in BPM.i am not authorized for transaction ALRTCATDEF.Can you tell me where i can see dynamic alert messages for alert categories created.Is there any transaction or I can check in RWB in alert configuration
    Best Regards,
    Harleen Kaur Chadha

    Alert Configuration:- You use alert configuration to have the system informed you about the errors that occurs during message processing.
    *Used for alerts that occurs at IE.
    Alert Management: When you define the integration process you can specify that if a particular situation occurs at runtime a alert has to be thrown using alert management.
    *Used to handle business specific errors.
    For example if the stock falls below certain level an alert has to be thorwn to the specified user using the integration process in this case you have to follow steps defined in alert management
    Defining Alert Categories
    During alert category definition, you specify the alert text, expiry time, escalation, and all other conditions related to the sending of this kind of alert.
    1. Ensure that you are in change mode in the alert category definition environment (transaction ALRTCATDEF).
    2. Choose Create Alert Category.
    3. In the Alert Category column, enter a technical key. Choose a key that describes the situation that triggers the alert, such as CUSTCANC for a category responding to a customer cancellation. This key is language-independent and identifies the alert category. The standard namespace convention applies to the key, this means keys Z* und Y* belong to the customer name space.
    4. On the Properties tab page:
    a. In the Description field, enter a description for the alert category. Choose a description that is informative with respect to the content of the alert category. The description is language-dependent.
    b. If required, you can select a classification in the Classification field. If you do not choose a specific classification, the category is stored in the classification folder Unclassified. For more information on classifications, see Alert Classification.
    c. In the Max. No. of Dels field, specify a maximum number of times that an alert of this category is to be delivered if it is not confirmed. This refers to delivery using a communication channel other than to the recipientu2019s display program (UWL, application-specific program, or alert inbox).
    d. Select Dynamic Text if the texts of the alert category cannot be defined at this stage. This refers to situations in which the texts are not known until runtime, for example when CCMS Alerts are forwarded to ALM.
    No translation can be performed for alerts with dynamic text. System messages can be entered manually in several languages.
    e. In the Expiry Time in Min. field, you can enter a life span for alerts of this category if the alerts will no longer be relevant after a specific period of time. If the expiry time elapses, the alert is removed from the alert inbox and is no longer delivered using any other channel.
    Expiry times can be derived from various sources. Priority is given first to the data provided by the triggering application, second to the BAdI ALERT_EXP_DATE, and third to this field in the alert category definition. If none is found in any of these sources, the default expiry of 31.12.2099 applies.
    f. If you wish to specify an escalation recipient, select Escalation Active and enter the escalation recipient. Also specify a tolerance time in minutes. When escalation is active for an alert category, an alert is escalated if none of the alert recipients has confirmed the alert after this tolerance time. The escalation recipient is also informed that he or she has received the alert because of an escalation.
    The escalation functionality is based on the administrator report RSALERTPROC. This report has to be scheduled as a regular job. For information on this report.
    5. On the Container tab page, define any variables that you may want to use in the short text or long text. You can also define other application-specific variables, such as company code or material number. These variables are then replaced at runtime with values from the application. For more information, .
    6. On the Short and Long Text tab page, enter texts for the alert category. You can include text variables referring to elements of the alert container or system symbols. In the case of a container element, the variable must be defined in the alert container. The entry in the text must be in the form &<ElementName>&.
    The title is used as mail title, fax subject, and alert title in the inbox. The long text is used as mail/fax body and the long text view in the inbox. The short text is used for pager and SMS.
    7. On the Optional Subsequent Activities tab page, you can enter URLs for subsequent activities. If you trigger your alerts by calling a function module, you can also specify dynamic subsequent activities. For more information, see Triggering by Calling a Function Module Directly in Triggering Alerts.
    8. Save your entries.
    You create an alert category to use in alert rules.
    Basic alert configuration
    The specified item was not found.
    The specified item was not found.
    Trigerring alerts from UDF
    Triggering XI Alerts from a User Defined Function
    Alert Configuration
    http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm
    Alert Inbox
    http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm
    Alert Notification Step-by-Step
    http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
    Defining Alert Classifications
    http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
    Triggering Alerts
    http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
    Setting up alerts
    Setting up alerts in RZ20
    Alert Management
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e04141e8-0f11-2a10-adaa-9d97b062c2df
    Alert Notification
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/90f449a8-a6db-2910-a386-d2b5999f5751
    ALRTCATDEF Editing Alert Categories
    ALRTCATDEF_SEL Define Alert Category
    ALRTDISP Display Alerts
    ALRTINBOX Alert Inbox
    ALRTMON Alert Monitor
    ALRTPERS Personalize Alert Delivery
    ALRTPROC Process Alerts
    ALRTSUBSCR Subscribe to Alert Categories
    The Alert Framework provides an interface from the Basis (Web AS) Alert Framework. You use
    transaction ALRTCATDEF to define the text, the priority, number of delivery, etc. for the alert.
    ?? To configure your alerts, proceed as follows:
    ?? To define an alert category, choose Create Alert Category.
    ?? You can also create the alert category directly by calling transaction ALRTCATDEF. In both
    cases you require the authorizations of the role SAP_XI_ADMINISTRATOR.
    Triggering XI Alerts from a User Defined Function
    The specified item was not found.
    The specified item was not found. - Alert Configuration
    The specified item was not found. - Trouble shoot alert config
    Configuring scenario specific E-mail alerts in XI-CCMS: Part  - 1 -- ccms alerts ? 1
    Configuring scenario specific E-mail alerts in XI-CCMS: Part-2 -- ccms alerts ? 2
    Configuring scenario specific E-mail alerts in XI-CCMS: Part 3 -- ccms alerts --- 3
    Alerts with variables from the messages payload (XI) - UPDATED -
    The specified item was not found.
    http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
    From HelpFile
    When alerts r not displayed in inbox ?
    Then check the following
    Tcode - ALRTCATDEF_SEL
    Report - RSALERTDISP and RSALERTPROC , SXMSALERT_LOGREADER
    Did you run the report SXMSALERT_LOGREADER in SE38... If you run it, please post the corresponding logs here. If not, try to run the report giving corresponding message id and post the logs here. We will try to figure it out

  • Container Variable value not reflected in Alert message

    Hi All,
    In BPM, i am trying to set an Alert message which will send the message in alert Inbox. Here i have stored a value from the message in a container variable. This Container variable value is used in the Alert message in the form of &variable&. But whenever i specify container variable value, it is not reflected in the Long text of Alert Inbox. In Alert category i have also checked the Dynamic text. Still it is not coming.
    Can u suggest what is the possible solution for this.
    Thanks in advance
    Ashish

    I was able to get the Alert Message by changing container variable from "Block " to "Process". But It was containing the value of the first message.
    Actually i am having a scenario in which i am transforming a File message input into multiple messages based on its PO number using multi mapping. These messages are send as IDOCs using Parrallel for Each block, where i store the PO number in the container variable and use it in alert message. So for that i have to use this block name as container and not as a Process.
    Can anybody tell me why this Container Variable value is not reflected in the alert message.
    Thanks in advance
    Ashish

  • Check  File Existence and display  alert message

    Hi,
    I have a servlet which uploads file to server. Below is my code and is working file. Now, I want to check if the file uploading by the user is already exists. If so , I have to display a message to user "The file you are trying to upload already exists. Do you want to overwrite" with YES or NO actions.
    How can I display this alert message from user.
    //item.write(tosave);
              FileItemFactory factory = new DiskFileItemFactory();
              boolean isMultipart = FileUpload.isMultipartContent(request);
              System.out.println(isMultipart);
              Map fileDetails = new HashMap();
              ServletFileUpload upload = new ServletFileUpload(factory);
              List items = upload.parseRequest(request);
              Iterator iter = items.iterator();
              while (iter.hasNext()) {
                   item = (FileItem) iter.next();
                        if (item.isFormField()) {
                                       String fieldName = item.getFieldName();     
                                       String fieldValue = item.getString();
                                       fileDetails.put("fileName",item.getString());
                        else {
                                  fileDetails.put("path",item.getName());
                                  cfile=new File(item.getName());
                                  onlyFileName = cfile.getName();
                   if (! folder.exists()) folder.mkdirs();
                   if(cfile.exists()){  //THIS CHECK THE FILE EXISTENCE.  HOW CAN I DISPLAY ALERT MESSAGE TO USER HERE.
                        System.out.println("File Already Exists Path is ");     
    Can anyone suggest me on this.

    It won't work like that because JavaScript will run either before the form is submitted or after the page has been generated. In either case, you can't really communicate between the server side code and client side code.
    What you can do is use Ajax to communicate with a servlet that checks for the duplicate file and responds accordingly. You can then perform the appropriate action on the page. This should be very simple to setup, take a look at this basic tutorial [1].
    [1] http://www.w3schools.com/ajax/default.asp
    People on the forum help others voluntarily, it's not their job.
    Help them help you.
    Learn how to ask questions first: http://www.catb.org/~esr/faqs/smart-questions.html
    ----------------------------------------------------------------

  • Regarding Forms6i Alert Messages..!

    Hi,
    When i am trying to go to Enter Query Mode in my form..i.e when i am pressing
    F7.. i am getting an Alert message
    Do you want to save the changes..?
    How can i suppress this message..!
    Thanks & regards
    ravi.

    that's an important message. This message is displayed, because the form want to clear the block and clear all the data of the actual block. In the case, that unsaved changes are in the block you get the message.
    You can use the KEY-ENTQRY for example. There you can force a commit or rollback before you start the "enter_query;". But I think, that the default-behaviour is quite the best way the form gives to you.

  • Alert Message displayed according to WebService response

    I've created and used a Web Service in my VC application which simply send a mail. This Web Service returns a boolean response which indicates if the mail has been correctly sent. I want to inform the user accordingly with an alert message.
    If the response is correct, I want the user to be processed to confirmation page;
    If the response is uncorrect, I want to inform th user accordingly.
    Which operator should I use?
    Do I have to use the output point of my Web Service object?
    Thanks

    Hi,
    Thanks Fabien for your answer ... but it hasn't solved completely my problem.
    My webservice effectively returns a boolean, and I use this boolean to show wether a confirmation message or a error alert. But the alert form (which is normally displayed only if WSReturn == "false") is by default always displayed. The response sent by my webservice seems to be by default set to false... very strange, isn't it?
    Has anybody encountered such a situation? I just would like to display one form or the other depending of the result of my WS call.

Maybe you are looking for

  • How do i set the transparency of an image retrieved from a database? (image was stored as blob)

    I had stored a png image into a database, when i retrieve it and display it the background is no longer transparent? I am loading the blob returned from the select statement by using the "loadBytes" method of the "UILoader" class. Thanx in advance gv

  • Php vs textfile dynamic text

    ok i am at the last part of my project. it worked all well and reads all text fields from a text file as seen on : http://www.myblueranch.com/index2.html now i am trying to get the same thing working from MYSQL. Notice that the text file i used for i

  • Cannot install security backups anymore

    After having tried to install security backup 2008-07 (stuck) it is merely impossible to install any security backup. I have already re-installed 10.5.5 Combo, repaired permissions, downloaded the update images, tried to install older security update

  • Backup iPad Synched with Mac onto New iPad on a PC

    Hey all, I have the below setup iPad synced with Mac (iPad 2 32gb  - iMac Maverics) This will be my new setup New iPad Mini synced with PC My question is this.. I have stuff I want to backup on my old iPad like notes / documents etc that I don't want

  • XL Reporter- Expressions in Parameters.

    Hi, In XL Reporter for a UDF field we needed to allow users to select multiple options. E.g. for a UDF field named "Country" which includes a list of  countries if the user wants to select all the countries he/ she should be allowed to multi select t