How to prompt users to save changes to layouts

Hi,
I am using WAD to develop planning layouts for BIIP.
I am curious as how to prompt the user to save the changes thay made to the data on the layout if they decide to navigate away from the page.
Any suggestions?
thank you
Message was edited by:
        AG

They can use Acrobat to save the form.
If they only have Adobe Reader, they need to Reader extend the form, to enable Adobe Reader to save the form with data.
Jasmin

Similar Messages

  • How to prompt users to save changes?

    Hi,
    I am using WAD to develop planning layouts for BIIP.
    I am curious as how to prompt the user to save the changes thay made to the data on the layout if they decide to navigate away from the page.
    Any suggestions?
    thank you

    Hi AG
    Did you find the place choosing the options? I didn't remenber them all, you can try to search these options.If you want to change the default value of this option, you can go to System Administration --> System Configuration --> Service Configuration --> Applications --> com.sap.portal.epcf.loader --> services --> epcfloader. Set the value of Workprotect.mode.default, which default is 1, and other three options are related to 2, 3, 4.
    Best regards.

  • Prompt user to save change before abnormally closing the application

    Hi,
    I've some trouble prompting user to save change before abnormally closing the application (logging off, shutdownding machine...). I tried to use Runtime.getRuntime().addShutdownHook() and it doesn't seem to work. Here's part of my code. Help please!!!
    program print out "1" and stays in a "dead-lock" mode...
    private void shutdown() {
    boolean saveConfig = true;
    if (saveConfig) {
    System.out.println("1 ");
    int answer = JOptionPane.showConfirmDialog(null,
    "Configuration has been changed. Do you want to save
    configuration before exit?",
    "Save Config"
    JOptionPane.
    YES_NO_CANCEL_OPTION);
    JOptionPane.showMessageDialog(this, "Can't connect to unit. Error in Heal unit!", "Error", JOptionPane.INFORMATION_MESSAGE);
    System.out.println("2 ");
    if (answer == 0) {
    savefileButton_actionPerformed();
    jMenuFileExit_actionPerformed();
    else if (answer == 1) {
    jMenuFileExit_actionPerformed();
    else {
    return;
    else {
    int answer = JOptionPane.showConfirmDialog(itself,
    "Are you sure you want to exit? ",
    "Exit",
    JOptionPane.YES_NO_OPTION);
    if (answer == 0) {
    jMenuFileExit_actionPerformed();
    else {
    return;
    private class MyShutdownHook extends Thread {
    public void run() {
    shutdown();
    // add shutdown hook
    MyShutdownHook shutdownHook = new MyShutdownHook();
    Runtime.getRuntime().addShutdownHook(shutdownHook);

    doesn't much matter. shutdown hooks are not guaranteed to run or be able to finish.

  • Prompting user to save changes before leaving jsp

    Folks,
    I want to be able to prompt the user to save changes on the page that he's on, before he navigates to a different one. one idea i explored is using the body onUnload event. the problem is that my page is split into multiple jsps with tiles, and the body tag is in a common tile that i can't really access.
    Any other ideas on how to do this?
    Thanks,
    Nilesh

    nthali wrote:
    well, onbeforeunload seems to be an IE specific event. we have some customers using firefox etc.It works in at least IE 5.0, FF 1.5 and Safari 1.3. Only not in Opera yet, because it very strictly follows the w3 standards. It doesn't support the onunload either though, which was also invented by Microsoft and adopted by FF and Safari, only a bit earlier than the onbeforeunload.
    And as I already said, the onunload is already too late. The browser will (already) be closed regardless of the (outcome of the) warning message.

  • ARD 3 not prompting user to save changes on restart

    Hello! I have ARD 3 and when I send out a restart command and select the radio option "Users can save changes or cancel restart" it acts as if I didn't select this, and instead selected "Users lose unsaved changes".
    This has never worked for me. If working properly, it SHOULD actually show up on the affected computer a dialog popup of some sort providing the user just those option: to save changes or cancel restart.
    What is wrong/going on, and how do I fix it?
    Thanks ahead of time,
    Sam M.

    nthali wrote:
    well, onbeforeunload seems to be an IE specific event. we have some customers using firefox etc.It works in at least IE 5.0, FF 1.5 and Safari 1.3. Only not in Opera yet, because it very strictly follows the w3 standards. It doesn't support the onunload either though, which was also invented by Microsoft and adopted by FF and Safari, only a bit earlier than the onbeforeunload.
    And as I already said, the onunload is already too late. The browser will (already) be closed regardless of the (outcome of the) warning message.

  • ARD 3 not prompting user to save changes even when told to

    Hello! I have ARD 3 and when I send out a restart command and select the radio option "Users can save changes or cancel restart" it acts as if I didn't select this, and instead selected "Users lose unsaved changes".
    This has never worked for me. If working properly, it SHOULD actually show up on the affected computer a dialog popup of some sort providing the user just those option: to save changes or cancel restart.
    What is wrong/going on, and how do I fix it?
    Thanks ahead of time,
    Sam Marcus

    Slava Natapov wrote:
    Samita wrote:
    Whenever a user changes some items in Block_1 and presses save button, the values from non_db items get copied to the db_items (based on view) and commit_form is called. Try to copy values to the db_items not in save button, but in WHEN-VALIDATE_ITEM of non_db items.- I created the non-db items becoz, it was asking me 'Do you want to save changes', even when I only queried data from the view (becoz i was doing some computations while displaying the items. and the form assumed that the DB items were begin changed ). Inorder to get rid of that problem, i used mirror_items (non-db) for all the db items.
    So under this scenario, when i copy values to the db_items in WHEN-VALIDATE_ITEM trigger of non_db items, the form considers the db_items are changed and asks 'Do you want to save changes' even when the user has not made any changes and only queried data.
    Edited by: Samita on Dec 9, 2009 10:12 AM

  • How to promt user to save changes when changing non-database fields?

    Hi,
    I have a form with two tabs. The datablock Block_1 on tab_2 is based on a database view. But all the displayed items of Block_1 are non-database items. Whenever a user changes some items in Block_1 and presses save button, the values from non_db items get copied to the db_items (based on view) and commit_form is called. This works fine.
    But the problem here is: after changing some items in block_1, if the user navigates to some other option/form from the menu , the form doesnt promt the user to 'save the changes' and all the changes made are lost. How can I fix that?
    I have a form level key-exit trigger, (which does not fire) with following code :-
    Declare
      X  Number;
      alert_is             alert;
    Begin
    If :System.Mode = 'ENTER-QUERY' Then
           Exit_Form;
    Else
      If :System.Form_Status In ('NEW','QUERY') Then
           alert_is := FIND_ALERT('TMPL_EXIT'); -- "Are you sure you want to exit?"
        X := Show_Alert('TMPL_EXIT');
        If X = Alert_Button1 Then
           Exit_Form(no_validate);
        End If;
        Else
           Exit_Form;
      End If;
    End If;
    End;

    Slava Natapov wrote:
    Samita wrote:
    Whenever a user changes some items in Block_1 and presses save button, the values from non_db items get copied to the db_items (based on view) and commit_form is called. Try to copy values to the db_items not in save button, but in WHEN-VALIDATE_ITEM of non_db items.- I created the non-db items becoz, it was asking me 'Do you want to save changes', even when I only queried data from the view (becoz i was doing some computations while displaying the items. and the form assumed that the DB items were begin changed ). Inorder to get rid of that problem, i used mirror_items (non-db) for all the db items.
    So under this scenario, when i copy values to the db_items in WHEN-VALIDATE_ITEM trigger of non_db items, the form considers the db_items are changed and asks 'Do you want to save changes' even when the user has not made any changes and only queried data.
    Edited by: Samita on Dec 9, 2009 10:12 AM

  • !!!How to restrict user for making  changes in Sales order , partner level

    Hi all,
    Can anybody tell me how to restrict user for making  changes in Sales order  at partner level, is it through user exit?

    Hi Ruchi
    I hope u had gone to the screen fields which u want them not to be editable. So there u select all the fields contents which u do not want to to be changed and check the boxes with W.content and Display and save it. Once evrything is done u have to activate the particular transcation going in to the standard variants and put the name and click the activate button.
    Hope its clear
    Reward if help ful
    Sri

  • How to block displaying message "Save changes to file 'Test1' " in BEx?

    Hello, dear colleagues!
    Do You know how to block displaying message "Save changes to file 'Test1' " in BEx?
    I need some BEx setting which can block it and make it the same way as You close common Excel workbook without any changes made to it after opening e.g. without any messages, just clicking the cross. 
    Thank You all very much in advance!
    Val
    Edited by: vtb777 on Nov 21, 2011 1:46 PM
    Edited by: vtb777 on Nov 21, 2011 1:50 PM
    Edited by: vtb777 on Nov 21, 2011 1:52 PM

    from time to time i am working with macroses, but they are not good for the report's reliability.
    maybe You have some example of such macros?
    UPDATE:
    I have tried to edit event, called WorkbookBeforeClose in module BExEventHandler, adding there such a line:
    Application.DisplayAlerts = False
    but no result. maybe there are some other ways of solving this problem?
    Edited by: vtb777 on Nov 22, 2011 6:26 AM
    UPDATE-2:
    I got such a code, but it doesn't work:
    Private Sub Workbook_BeforeClose(Cancel As Boolean)
    If MsgBox("Save changes to file? " & Name, vbYesNo, "") = vbNo Then
       Cancel = True
    End If
    End Sub
    Edited by: vtb777 on Nov 22, 2011 11:07 AM
    Edited by: vtb777 on Nov 22, 2011 11:16 AM
    Edited by: vtb777 on Nov 22, 2011 11:20 AM

  • Do u know how to prompt user to enter password and validate the password?

    hi all,anyone knows how to prompt user to enter password and validate the password as well?I do not need the GUI.Can someone post the codes here?Thanks!

    hi all,anyone knows how to prompt user to enter
    password and validate the password as well?I do not
    need the GUI.Can someone post the codes here?Thanks!Codes are
    BufferedReader
    System.in
    if
    else
    System.out.

  • Allowing a user to save changes

    I am creating an app that is something similar to this one:-
    http://demo.quietlyscheming.com/DragTile/DragDrop.html
    However what I want is when a user drags an item from one tilelist into the other tilelist for them to be able to save these changes so that when they close the application and reopen it these changes will still be there i.e. if the top tilelist is tilelist1 and the bottom tilelist is tilelist2 and the user drags a couple of items to tilelist1 TO tilelist2 I want these items to appear in tilelist 2 after the app has been closed and reopened and the items that have been moved NOT to appear in tilelist 1 anymore.
    I also want the user to be able to type their name into a text area and save it by clicking a save button so their name will also be shown next time they open the app.
    What is the best way to do this? Via xml perhaps? I've used xml to contain data that populates a site in the past but never used it where it allows user's to actually insert data into an xml file. Are there any examples of anything simiar that may help me out?

    That may work but I'm not sure on how to apply it to my own application. Here's a little bit of my code to show you what I mean. The button marked "populate" populates the left hand tilelist when clicked and also acts as a reset button if the user wants to reset the links back to normal. What I want is when the button marked "save" is clicked for all the changes a user has made to both tilelists to be saved. How can the following code be edited to allow that:-
    <?xml version="1.0" encoding="utf-8"?><mx:WindowedApplication 
    xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
    <mx:Script>
    <![CDATA[
    import mx.collections.*; 
    private function profile1NewsAndSportReset():void {profile1NewsAndSportAddLinksTilelist.dataProvider =
    new ArrayCollection([{link:
    "www.bbcnews.com", label:"BBC News", icon:"image7", largeImage:"assets/images/bbcnews_small.png", title:"BBC News", description:"BBC News description will go here"},{link:
    "www.itv.com/", label:"ITV", icon:"image5", largeImage:"assets/images/itv_small.png", title:"ITV", description:"ITV Description will go here"},{link:
    "www.skynews.com", label:"Sky News", icon:"image10", largeImage:"assets/images/skynews_small.png", title:"Sky News", description:"Sky News Description will go here"},]);
    profile1NewsAndSportLinkChoice.dataProvider =
    new ArrayCollection([]);}
    ]]>
    </mx:Script>
    <mx:Button click="profile1NewsAndSportReset()" id="pop" label="populate tilelists" y="0"/>
    <mx:TileList id="profile1NewsAndSportLinkChoice" fontWeight="bold" dragEnabled="true" dragMoveEnabled="true" dropEnabled="true" height="292" width="650" top="0" left="521" columnCount="5" rowHeight="145" columnWidth="125" doubleClickEnabled="true" backgroundColor="#000000" borderColor="#FFFFFF" color="#FFFFFF" borderSides="top right left"/> 
    <mx:TileList id="profile1NewsAndSportAddLinksTilelist" fontWeight="bold" dragEnabled="true" dragMoveEnabled="true" dropEnabled="true" height="419" width="385" top="0" left="128" columnCount="3" rowHeight="145" columnWidth="125" doubleClickEnabled="true" backgroundColor="#000000" borderColor="#FFFFFF" color="#FFFFFF" borderStyle="solid" borderThickness="2" dropShadowEnabled="true"/>
    <mx:Button click="" id="save" label="Save Changes" x="0" y="30"/>
     </mx:WindowedApplication>

  • Prompting users to save

    Is there a way to implement an iView that can detect when a user has entered data into controls, and then navigates to another page without having saved the data by clicking the save button?  Requirement is to stop the page navigation and prompt the user to save.  I'm curious to know if any of the Java, BSP/ABAP, or .NET development tools could help in this regard.  Any help would be greatly appreciated.

    Hi Brian,
    this is (should be, didn't install it yet) a feature from EP6 SP3 on. You have to use the EPCF (within this, the so called work protect feature) to set the dirty-flag; with SP2, when the dirty flag has been set and the user wants to navigate, another window opened (so that the not saved data won't get lost). SAP had implemented your disired behaviour for it's own special cases, but from SP3 on, this should be a standard feature; also see https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/enterprise portal client.pdf and http://help.sap.com/saphelp_nw04/helpdata/en/37/50fb5066f9db43b3b5d5fc8de0c051/content.htm.
    Hope it helps
    Detlev

  • Adobe Reader X prompting me to save changes every time I close a document! Please help

    I open the PDFs and when I close it, it asks me "Do you want to save changes before closing", when there are no changes made!
    This is such an inconvenience, please help to solve the issue. I tried to go to Edit -> Preferences -> Documents -> and unchecked Save settings options, but it didnt work

    Thanks Pat. It so happens that I myself am the author of these PDFs. Is there something I need to change (settings etc) and rebuild these files, so the issue doesnt recur? BTW, I am using Adobe FrameMaker 11 to create the docs.
    If there is a link which addresses this issue, please point me to that.
    Thanks in advance....

  • JavaScript to prompt user to save as PDF

    I am making changes with code to the file. I want the user to be prompted to save as a .ai file first. I have that down. Now I am wanting to have the user immediately be prompted to save as a pdf with only the optimize for fast web view option selected. I believe it is an adobe preset of Smallest File Size.
    The reason for wanting the prompt is because I want to save the files in 2 different locations.
    Here is my code so far.....
    var doc = app.activeDocument;
    // Save as .ai file 
    var fileName = doc.fullName; 
    var thisFile = new File(fileName);
    var saveFile = thisFile.saveDlg();
    doc.saveAs (saveFile);
    // Save as .pdf file
    var pdfSaveOptions = new PDFSaveOptions(); 
    pdfSaveOptions.pDFXStandard=PDFXStandard.PDFXNONE; 
    pdfSaveOptions.compatibility = PDFCompatibility.ACROBAT5; 
    pdfSaveOptions.preserveEditability = false; 
    var pdfFile = new File(fileName); 
    doc.saveAs(pdfFile, pdfSaveOptions);
    AI CS4 Windows 7 64bit

    is the folder structure existing already?
    if so, things are simple.
    if the job number and name are in the file the you could pull that from the doc rather then manual entry at the prompts.
    (please note this has no testing to check folders exist etc...)
    var job = prompt("Enter Job Name");
    var num = prompt("Enter Job Number");
    aiFile = "D:\\"+job+"\\"+num+"\\AI\\Schematic.ai"
    pdfFile = "D:\\"+job+"\\"+num+"\\PDF\\Schematic.pdf"
    var newaiFile = new File(aiFile);
    var doc = app.activeDocument;
    doc.saveAs (newaiFile);
    var pdfOpts = new PDFSaveOptions();   
    pdfOpts.pDFXStandard=PDFXStandard.PDFXNONE;
    pdfOpts.compatibility = PDFCompatibility.ACROBAT5;   
    pdfOpts.preserveEditability = false;
    var newpdfFile = new File(pdfFile);   
    doc.saveAs(newpdfFile, pdfOpts);
    if you want the script to create the folders then its a little harder.
    Javascript will not do this and you need some other work around.
    something like this...
    if (Folder(qfolder).exists){
    app.activeDocument.saveAs( saveName, saveOpts );
    }else{
               //alert("about to try bat");
               batpath= 'call "C:\\Adobe Scripts\\MakeDirectory.bat"';
                battemp = new File("C:\\Adobe Scripts\\tempBAT.bat");
                battemp.open("w");
                battemp.writeln(batpath + " " + qfolder);
                battemp.close();
                battemp.execute();
             //alert("Had to Create Folder, Please press OK to continue...");
                $.setTimeout = function(func, time) {
                        $.sleep(time);
                        func();
             $.setTimeout(function(){ app.activeDocument.saveAs( saveName, saveOpts )},200);
    the MakeDirectory.bat is just:
    ECHO OFF
    CLS
    IF %1=="" GOTO BLANK
    SET savepath=%*
    MKDIR %savepath%
    GOTO FINISH
    :Blank
    ECHO No Folder provided
    GOTO FINISH
    :FINISH
    the tempBat.bat is used to call the MakeDirectory.bat with the folder name as an argument.

  • Confirmation to user regarding Save changes depending on data change

    Hi,
    I am using JDeveloper 11.1.1.0.2 version and new to ADF. I have a situation like, i have 8 - tabs and user will be moving from one to another by optionally modifying the information displayed on the each tab. If user doesn't modify the page, then system should not prompt for "Saving the data in the perticular tab". However in the case of modification in the tab and moving to another tab, system shoud prompt to the user with the message "Do you want to save the changes? Yes/No".
    I need a help regarding this by using the JavaScript / backing beam. I feel, if this can be implementable by using Javascript will be good.
    If we implement the above by using backing bean, then we may end-up in using ActionListner to send the status back to server and at the time of moving to another tab, again travel back to server to get the changed value status. If i have 20 elements on page, there may be ActionListner for all GUI element respectively and frequently traversing back to server may not be good.
    If the code is shared related to above scanario, will be a great help.
    Thanks in advance,
    --Majid                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    This might help
    http://manieshsailoz.blogspot.com/2010/05/declarative-dialog-component.html

Maybe you are looking for

  • ABAP Routine code for the below logic

    Hello BW Experts , I need to write a complex ABAP routine in BW . Following is the detail explaination . Can anyone tell me the ABAP code for the below logic? It would be a greate help as I am unable to do this since last two days. WBS Elements are m

  • Advice on saving DVD video and re-sizing for the web

    Hello... I'm looking into purchasing a copy of Adobe Premiere - but I need advice on which version I need - and if it can do what I'm after. I want to transfer my own video work from DVDs and save them as MPEG4 files. I then want to upload them on to

  • 64 bit to 32 bit

    Hi, I have purchased a 64 bit Windows 7 pro. I would like to get it converted to 32 bit. Thanks

  • IdeaCentre Q150 BIOS Problem

    Hello, My company purchased 5 IdeaCentre Q150's to use on a current project.    All are the same configuration (4081-6AU).   We have a custom Windows 7 64-bit image running on each of them.   To take maximum advantage of the systems, we ordered 4GB R

  • Mavericks RAID 1 unreliable?

    Short version: RAID 1 array rebuild is failing with one drive working in the set, but failing after an hour or two (variable) attempting to rebuild to another drive. I've changed drive and drive bay and the rebuild still fails. The apparently working