Issue of Discard/Save Changes popup in MDM WDC application

Hi All,
I am facing an issue in a WDJ application involving usage of MDM WDC Components.After  editing in item details component,we are setting record id as -1 so as to clear the item details and trigger a bpm process.We are protecting the record after submission.But on submission we are getting a popup window asking for Discard/Save changes .This occurs randomly.What could possibly cause this.Any pointers regarding this will be helpful.
Regards,
Apoorva Dave
Edited by: Apoorva_Dave on Sep 12, 2011 1:42 PM

Hi Apoorva,
Before setting -1 in your item details try to write following line of code.
wdthis.wdget<Itemdetails>interface.cancelRecord();
I hope it helps.
Regards,
Rohit

Similar Messages

  • 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.

  • Firefox won't save changes I make to the applications actions panel. Specifically, changing pdf files to open in Firefox

    If I change the option to "Use Adobe acrobat in Firefox", the next time I open Firefox, it will have reverted its setting back to "Use adobe Acrobat 7.0"

    Using "System Restore" can cause your Firefox installation to get corrupted because not all files are restored (only files in a white-list), so be cautious with using System Restore.<br />
    You need to (re)install software that was affected.<br />
    Remove the Firefox program folder (C:\Program Files\Mozilla Firefox\) before reinstalling a freshly downloaded Firefox copy to do a clean install.
    You can find the latest Firefox release in all languages and for all Operating Systems here:
    *Firefox 11.0.x: http://www.mozilla.org/en-US/firefox/all.html
    Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.org/kb/Server+not+found
    *https://support.mozilla.org/kb/Firewalls

  • Unexpected & Unnecessary Popup "do you want to save changes to 'x' before closing ?"

    Hi Im running a code that is opening a pdf doc and reading some stuff from it (not editing it).
    avDoc = CreateObject("AcroExch.AVDoc")
    avDoc.Open(FileBox.FileName, "x")
    accroApp = CreateObject("AcroExch.App")
    accroApp.Show()
    accroApp.Hide()
    accroApp.Exit()
    avDoc.Close(0) 'accroApp = Nothing
    But when I close it gives this question "ONLY SOMETIMES"
    "do you want to save changes to 'x' before closing ?
    Previously, i just forced it to save at all times before closing.
    I guess there is a way to avoid this, by setting some dirtyflag=false/true?
    Pls help
    JS

    Check out this post - http://forums.adobe.com/message/3871646#3871646
    My issue was similar and I finally got it to work.

  • Save Password Popup Not Shwing In Firefox 15

    when i login into some site than save password popup not showing
    i have checked save password for websites in firefox option i am using firefox latest version which is 15 i also restored firefox to factory settings but nothing happened its the same issue
    i don't know what's going wrong

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    Try to disable hardware acceleration in Firefox.
    *Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    *https://hacks.mozilla.org/2010/09/hardware-acceleration/
    *https://support.mozilla.org/kb/how-do-i-upgrade-my-graphics-drivers
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    See also:
    *http://kb.mozillazine.org/User_name_and_password_not_remembered

  • When closing the Form "Do you want to save changes" window

    Hi
    I have a Master-Detail form where in my POST-QUERY trigger i am changing the LOV non-database item field to some value. When I just select Master record(NOT in query mode) my detail records pop up in the detail block. This is done by EXECUTE_QUERY in WHEN-NEW-BLOCK-INSTANCE trigger in Detail Block. But when i close the form it asks me to save changes even though i haven't changed anything. I have this statement in POST-QUERY Trigger
    SET_RECORD_PROPERTY(:SYSTEM.TRIGGER_RECORD,:SYSTEM.TRIGGER_BLOCK,STATUS,QUERY_STATUS); This issue does not happen in QUERY-MODE.
    I tried both Set_Item_Property('BLOCK.CODE',ITEM_IS_VALID,PROPERTY_TRUE); this property in the POST_QUERY and Set_Item_Property('item_name',VALIDATE_FROM_LIST,PROPERTY_TRUE); in QUERY-MASTER-DETAILS trigger but it didn't work.
    please help
    thanks

    Hi!
    I think, beause the message "Do you want to save the changes ..." has no error number,
    you will not get to catch it on a form level on-message-trigger.
    Better find out, why the record status changed.
    - Look to a post-query trigger that fills or changes a database item
    - change the Validate From List item Property to No
    - check for a when-validate-item or post-change trigger on items with a lov that has the Validate From List item Property set to Yes
    Regards

  • I keep getting a warnin that my pages document could not be auto saved. The file has been changed by another application. Click save anyway to keep your changes and save the changes made by the other application as a version, or click revert to keep the c

    I keep getting a warning stating that the document could not be auto saved in pages. The file has been changed by another application. Then it says click save any way to keep your changes and save the changes made by the other application as a version, or click revert to keep the changes from the other application and save your changes to a version.
    What in the heck does all that mean, and why are they trying to behave like a Windows product or a Microsoft office product. I just don't get it.
    Why is another application changing my documents? It's like they've created a virus within their own programs. It's a pain in the neck and makes no sense.

    I am also having the issue of a warning saying "could not be auto-saved in Pages. The file has been changed in another application. I then hit "save anyway", the warning will go away for a time, sometimes minutes, sometimes hourr, but then the warming reapprears saying the same thing. This is not the case with all Pages documents but it is the case with many.
    Working with a Retina Macbook Pro and current software
    These are newly created documents

  • Can't save changes to forms in access 2010 db format 2007

    Access 2010 - file format Access 2007 cannot save design changes
    On a previously designed form which works, I went back to change a check box from enabled "Yes" to "No" - I am then prompted to save changes and I click "Yes" but the form will not save or close. To close the form I must select "No" to the changes and they
    are lost.  If I return to form view the changes are also lost when I close.
    I have exclusive access to the DB and per some other suggestions I have checked the box to open in exclusive and uncheck the box  "Track name AutoCorrrect Info". I have also used compact and repair, which is also done on a regular basis.
    I have found that it is beginning to occur on other forms as well for no apparent reason.
    History:
    This was originally an Access 97 database that had been upgrade, all forms, reports, etc., had been imported into a new Access 2007 database. It has been running fine for the past month and we have been making design changes with no issues up to this point.
    The database is running on MS Server 2008r2 Terminal Services

    Hi Iasun:
    I have exactly the same problem that you had and have not been able to solve it. As you say, forms can be modified but no be saved; you can´t either change it´s name or delete it. Many forms in a large application  that I developed have
    the same problem and it seems that with time more forms are becoming "damaged"
    What I have done is to open the "damaged" form in design view and copied all controls to a new Form, leaving the old form unused. This is not a real solution but it´s the only way that I have found to change the original form.
    Your comment is more than a year old, have you already found a good solution?
    My application was originally developed in Access2007 and still running under it so it is not a problem related to 2010.

  • HT201363 I keep trying to delete r edit my apple account and after I delete my info I click save and try to go to another page and this keeps popping up and whatever u click on it resets the page.Save changes? You've made changes to your Apple ID, but hav

    Save changes?
    You’ve made changes to your Apple ID, but have not saved them. Would you like to save your changes before proceeding?
    Discard Changes
    Save Changesit resets brings the inf back

    You are trying to delete it or edit it?
    GB

  • How to save the setting in MDM import manager?

    How to save the setting in MDM import manager? After I configure all things in MDM import manager, I try to save the setting, let's say, saved map name is " Test002", and then I export this map into desktop. After that, I logon Import manager again, and import this map file, system show me the same thing that I have to configure it again, because nothing was changed, what I configured before, were all disappeared.

    Hi Alfred ,
    are You not saving this map in Import Manager ? Import Manager itslef saves the map and remember it . Exporting map is only for backup .
    Pls make changes and save the map . Exit and relogin . then see the map . It should be there . Pls let us know the result .
    - An

  • Problems to save changes even if I know my passwor...

    I registered with my facebook account and modified my profile trying to make my profile from 80% to 100% complete connecting my skype with microsoft e-mail. I tried to save changes and computer asked my password. I tried every single password I do have but it says they all went wrong. Then I ordered the code to get a new password but the code didn´t word either the link or typing it with hands. So what am I supposed to do?
    I want my account to be in connect with facebook and microsoft (outlook e-mail).
    THANK YOU!

    Yoannnna wrote:
    I registered with my facebook account and modified my profile trying to make my profile from 80% to 100% complete connecting my skype with microsoft e-mail. I tried to save changes and computer asked my password. I tried every single password I do have but it says they all went wrong. Then I ordered the code to get a new password but the code didn´t word either the link or typing it with hands. So what am I supposed to do?
    I want my account to be in connect with facebook and microsoft (outlook e-mail).
    THANK YOU!
    what does the error message say?  can you try using another web browser?
    IF YOU FOUND OUR POST USEFUL THEN PLEASE GIVE "KUDOS". IF IT HELPED TO FIX YOUR ISSUE PLEASE MARK IT AS A "SOLUTION" TO HELP OTHERS. THANKS!
    ALTERNATIVE SKYPE DOWNLOAD LINKS | HOW TO RECORD SKYPE VIDEO CALLS | HOW TO HANDLE SUSPICIOS CALLS AND MESSAGES

  • Undo/redo generate 'Save Changes to filename' pop up after 3 or 4 clicks.  Is there a way to turn this off?

    Running into issue with undo/redo(ctrl-z,ctrl-y) generating 'Save Changes to filename' pop up after 3 or 4 clicks.  Is there a way to turn this off?

    Sounds like some strange shortcut key conflict.
    The first thing to try is Deleting Corrupted Cache in DW.  Be sure hidden files & folders are enabled in Windows Explorer.
    http://forums.adobe.com/thread/494811
    If that doesn't help, try Restore Preferences
    http://helpx.adobe.com/dreamweaver/kb/restore-preferences-dreamweaver-cs4-cs5.html
    Nancy O.

  • HOW TO SUPPRESS "DO YOU WANT TO SAVE CHANGES YOU HAVE MADE"

    ORACLE APPS CUSTOM FORM
    WHENEVER I AM PRESSING CTRL+F11 AND SERACH ABOVE PROMPT IS COMING. HOW TO SUPPRESS THAT ONE.

    The message is occurring because the user (or your code) has changed something in the form. Forms needs to know what you want to do with the changes before it can continue.
    When you suppress this message, then when the user has changed something in the form, he won't be asked to save his changes. What do you plan to do then? If you silently discard his changes, he may not be happy with you. If you silently save his changes he may not be happy either. So let the user see the message and let him decide what to do.
    If your code is changing something in the form (not the user), then you need to find out what is being changed. Once you know, then you can fix it.

  • Do you want to save changes you have made? Message

    I have a form with 3 data blocks.
    Data block 1- master_blk
    data block 2- detail_blk1 (detail of the master block)
    data block 3- detail_blk2 (detail of DETAIL_BLK1)
    So its a 3 level parent child relationship. MASTER_BLK parent to DETAIL_BLK1 and DETAIL_BLK1 is parent to DETAIL_BLK2
    My problem is after i capture some data on DETAIL_BLK2 and try to navigate to another record on DETAIL_BLK1, i get a message asking me to save changes for me to continue. Is there a workaround to this problem where i can capture multiple records on DETAIL_BLK1 and corresponding child records on DETAIL_BLK2 and then save all the records at once?

    It is a default behaviour of the forms that whenever it detects a change in child blocks and you change its master, it would flush out the contents of detail block so that it can fetch the next set of child records for current master record. So in this process, it alerts to user to save or discard the changes made.
    See help for Coordination property of the relation defined.
    Here is a short help from Oracle Forms on Relation Coordination property.
    Whenever the current record in the master block changes at runtime (a coordination-causing event),
    Form Builder needs to populate the detail block with a new set of records. You can specify exactly how
    and when that population should occur by setting this property to one of three valid settings:
    Hope it helps!

  • Do you want to save changes you have made

    hi guys,,
    I need ur help
    I ve a form which retrieve employee data,,
    there are 8 blocks in the form,,
    i created a when mouse click trigger to show a LOV
    declare
    a boolean;
    begin
    a:=show_lov('TEST');
    pc_execute; -- calling a procedure
    END;
    but it gives Do you want to save changes you have made?
    and I tried to suppress this by setting system message level = 25
    but no benifit,,
    And if I write :
    declare
    a boolean;
    begin
    a:=show_lov('TEST');
    GO_BLOCK('ORG_EMP_INCREMENT_HISTORY');
    pc_execute; -- calling a procedure
    END;
    the message will disappear but the query will not execute all blocks
    ANY suggestions
    Best Regards

    Al-Salmau Alikum We Rahamatu Allah We Barakatu...
    if u wanna getting ur total records of emp block then do this as an example ...
    FUNCTION query_count (p_block_name VARCHAR2) RETURN NUMBER
    IS
      cnt NUMBER;
    BEGIN
      GO_BLOCK(p_block_name);
      COUNT_QUERY;
      cnt := GET_BLOCK_PROPERTY(p_block_name, QUERY_HITS);
      IF FORM_SUCCESS THEN
        RETURN (cnt);
      ELSE
        MESSAGE('Error in getting Query Hits for block '||:SYSTEM.CURRENT_BLOCK);
        RAISE FORM_TRIGGER_FAILURE;
      END IF;
    END;and notice the result in the status bar...
    But if u wanna have data it's another issue...
    so u have to do for example...
    IF NOT Id_Null(blk_id) THEN 
        Set_Block_Property('block_name',DEFAULT_WHERE,'emp_id = ' || emp_id);  
       Execute_query;  
       ELSE       Message('You have a problem!');     
    RAISE Form_Trigger_Failure;  
    END IF; Hope this helps...
    Regards,
    Abdetu..

Maybe you are looking for