Unsaved data warning cProjects iView

Hi
I'm working on a project where we run cProjects 3.1 through EP6 SP11.
My problem is that when I'm editing a project in cProjects and I for some reason decide to click on another link in the portal menu, I get no warning that my changes to the project will be lost.
Is it possible to add some warning to the iView, so that users have the possiblity of saving before exiting?
As cProjects is a BSP application the "WorkProtect Mode" from Personalization doesn't work.
Any ideas?
Best regards,
Jacob Vennervald

Hi Jacob,
this must be implemented within the application itself.
> As cProjects is a BSP application the
> "WorkProtect Mode" from Personalization doesn't work.
That's not totally right. The application could make use of the EPCF framework indeed, but obviously it doesn't.
As long as the application does not care about this, you won't have any chance.
Hope it helps nevertheless
Detlev

Similar Messages

  • Missing Article: Warning of Unsaved Data Functional Pattern

    Hi
    I bookmarked an article a while back which showed a functional pattern for warning of unsaved data when navigating away from a page.
    However, now that I need to investigate and impliment this the link is broken.
    Does anybody have the new link, link to a similar article / blog?
    Thanks,
    Mario

    Hi,
    if you are on a recent version of JDeveloper 11g then this functionality is provided out of the box. Also have a look at the af:document tag on your pages. It has a property "uncommittedDataWarning" you can set to on or off so this functionality is present event for single pages
    Frank

  • How to call a macro(check for unsaved data) before calling refresh button of EPM TAB

    Hi,
    I want to show a popup message for any unsaved data before USER hit the refresh button on EPM tab.
    I write the macro like as below in module
    Function TestForUnsavedChanges()
        If ActiveWorkbook.Saved = False Then
            If MsgBox("There is unsaved data, save the data otherwise u will loose the data. Do You Want to Save the Data ?", vbYesNo, "Warning") = vbYes Then
            bSave = True
            Else
            bSave = False
            Application.Undo
            End If
        End If
    End Function
    so how to execute this macro before Refresh ?
    Thanking in Advance !!

    Hi Nilesh,
    Try to add this macro under Function BEFORE_REFRESH.
    Hope this helps.
    Regards,
    Astha

  • Unsaved data handling in ADF

    Hi All,
    Is there any way to warn the user about unsaved data when the user navigates to some other page from the current page (wherein unsaved data exist), out of the box in ADF?

    Hi,
    what is "another page" ? Is it another page in the same application, or a page outside of it ? You should be able to check the state of the AM transaction, calling isDirty() to check whether there is uncommitted data. This could be done in a PhaseListener. However, when the user navigates off the application then chances are not good you catch this
    Frank

  • Confirm Dialog on Closing Web Application with unsaved data?

    Hi all,
    I am searching for best-practices or official solutions for implementing the following functionalty:
    User is trying to close the browser window or tab (Mozilla Firefox) by hitting the "X". We need to ask him if he is sure cause there might be unsaved data.
    The only solution we now see is the following:
    - event "onbeforeunlad":
    window.onbeforeunload = function (oEvent) {
      oEvent.returnValue = 'Sure? Unchanged data might be lost'
    Problem is that this event also runs, when youre navigating in the analysis item, e.g. expanding a hierarchy. You have to switch it of for every single Item with onmouseover and switch it on again later.
    And further on: It still has to be bound to the data... if data hasn't changed, it shouldnt pop up.
    Question: Are there any official suggestions from SAP? Seems to be a standard requirement. If not, do you know any better solutions for implementing this functionality?
    Thanks in advance for your help,
    Michael

    try capturing the onBeforeUnload event and display a modal confirmation dialog asking the user if he really wants to navigate away from the page; and warning him that if he does so, all the changes he made hitherto will be gone.
    However, you need to handle this intelligently since you need to identify if any fields in the form have changed and only then warn the user to confirm his decision to go away from this page.
    You can do this by having a flag which is initialized to false but when onBeforeUnload event is fired, you would check if any of the form fields in the page have changed by iterating over each and every form field,and then setting the flag to true if some thing changed
    the onBeforeUnload Handler will always return this flag, if it is true, you will get this confirmation popup, else the page will go away. To show a customized confirmation dialog, perhaps you would have to invoke the custom dialog call from with in the onBeforeUnload handler. When the user says yes, return false;else true.

  • My computer crashed.    How do I sync with a new computer without losing unsaved data?

    My computer crashed.    How do I sync with a new computer without losing unsaved data?

    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    For items you cannot get the above way use a third-party utility such as Phone to PC

  • How to turn off uncommitted data warning?

    I have a bounded task flow that calls a second bounded task flow.
    The second task flow shares transaction and data control scope with calling task flows.
    Both task flows use the main area of the UI shell.
    I make changes in second task flow and when I close the task flow I get a uncommited data warning.
    Is there a way to turn off this uncommitted data warning?

    <AF:document uncommittedDataWarning="off">i hope that this will helps you.
    http://www.oracle.com/technetwork/developer-tools/adf/unsaveddatawarning-100139.html

  • How to handle unsaved data in portal through webdynpro ABAP ?

    Hi Experts ,
         I  need to handle unsaved data in SAP Enterprise Portal through webdynpro for ABAP . I got a sdn link which explained some code for this..
    http://help.sap.com/saphelp_nw70/helpdata/EN/45/b76f4169e25858e10000000a1550b0/frameset.htm
    I tired to implement this in EXIT method of the view. but im not able to get this . Can any one help me in this ? .
    Regards ,
    Kalpana .

    Hi ,
    Yes i have checked the code . But the example itself not working when i linked the same with portal . If EXIT is not the right method , Can you help in placing the code in right method ? The code i pasted in EXIT method is 
    data L_COMPONENTCONTROLLER type ref to IG_COMPONENTCONTROLLER .
    data L_API_COMPONENTCONTROLLER type ref to IF_WD_COMPONENT.
    data L_PORTAL_MANAGER type ref to IF_WD_PORTAL_INTEGRATION.
    L_COMPONENTCONTROLLER =   WD_THIS->GET_COMPONENTCONTROLLER_CTR( ).
    L_API_COMPONENTCONTROLLER = L_COMPONENTCONTROLLER->WD_GET_API( ).
    L_PORTAL_MANAGER = L_API_COMPONENTCONTROLLER->GET_PORTAL_MANAGER( ).
    call method L_PORTAL_MANAGER->SET_APPLICATION_DIRTY_FLAG
      exporting
        DIRTY_FLAG = ABAP_TRUE .

  • 11.1.1.3 Uncommitted Data Warning not working for fields  AutoSubmit =true

    We are facing an issue in our application where [ Uncommitted Data Warning |http://www.oracle.com/technetwork/testcontent/unsaveddatawarning-096556.html] doesnot seem to work for input fields on which autosubmit is turned to true. Once I unset thye autoSubmit property to false , this works fine.
    The autosubmit is needed in our application for specific needs.
    Can you please throw some light on this weird behaviour ! We have followed the exact steps as mentioned viz -
    1)Turn the Critical to 'true' for the bounded taskflow.
    2)Turned the UncommittedDataWarning to 'on' for the af:document of the container .jspx page
    Thanks
    Sudipto

    I tried this as a small prototype . Can someone please give any pointers ?
    TEST CASE 1 (Using a simple jspx and no taskflows)
    1)Created a new Test1.jspx and put a af:inputText in it bound to an attribute binding coming from a DataControl (using EJB).
    2)Set the autoSubmit property to true for the inputText.
    3)For the af:Document of the above Test1.jspx set the UnCommittedDataWarning to “on”
    4)Register the above page in jazn-data.xml for anonymous and auntenticated-role for login purpose.
    5)Run the page and found that the UncommittedDataWarning (UD Warning henceforth) pops up fine after dirtying the inputText and pressing browser back button.     
    TEST CASE 2 (Using a jsff embedded into a taskflow which in turn is embedded into a jspx
    1)Created a new Test2.jsff and put a af:inputText in it bound to an attribute binding coming from a DataControl.
    2)Set the autoSubmit property to true.
    3)Insert the Test2.jsff into a bounded task flow say Test2TF.xml. Have critical set to “true” for this taskflow.
    4)Embed the Test2.xml into a new jspx say Test2.jspx
    3)For the af:Document of the above Test2.jspx set the UnCommittedDataWarning to “on”
    4)Register the above page , jsff and taskflow in jazn-data.xml for anonymous and auntenticated-role for login purpose
    5)Run the page and find that the UD Warning doesnot pop up after dirtying the inputText and pressing browser back button.
    +(The above is a typical scenario of our application)+
    I also checked the steps and concepts well explained at http://www.oracle.com/technetwork/developer-tools/adf/unsaveddatawarning-100139.html
    ,but couldnot arrive at a solution . The transaction and data control properties seem to be fine since , the UD warning does fire for a couple of fields having autoSubmit=”false” .
    Thanks
    Sudipto

  • Source system R3 gets hanged and unsaved data is deleted

    hi experts,
    I created a process chain with the data flow as, from PSA to cube. the data  flow was in 3.5 earlier which is migrated to 7.0. But now i used the same info package to load into PSA in the process chains and DTPs after that.
    Now when this process chain was scheduled, R3 source system got hanged and also unsaved data got deleted.
    Could any one provide inputs on the same?
    Thanks,
    Lavanya.

    Hi,
    how the data will be deleted in source? I guess never it may happen in case of source hanging situations...
    Once chk the data in RSA3 of source..
    wht abt the previous status of ur chain?failed/successful/running?
    Since it was a delta load ur last delta shuld be successful for the next run to be free to run...
    rgds,

  • Planning web form error "This form contains unsaved data. Select OK to cont

    I've got a user that suddenly gets an error on a planning web form. She opens the form and enters data but when she tries to submit gets the following error “This form contains unsaved data. Select OK to continue without saving data, or Cancel to discard operation” and then it takes her back to the blank form. This form worked for her yesterday but not today. She has tried shutting down hyperion, even rebooting her machine but no luck. Any ideas?

    Hi,
    Make sure scripting isn't disabed in hte web browser.
    Regards,
    Robb Salzmann

  • Passing Data to Nested iViews

    Hi,
    I am trying to pass the data to nested iViews and not getting success.
    In my model I have 2 layers.
    Layer 1 - Input Form
    Layer 2 - Output Table and Nested iView
    This Nested iView I have made it a tabstrip. Now when I select any line item from the table I need to pass these line item values to the Nested iViews Tab1. I tried using the Signal Out in the Out port of the output table. Put in a Signal In in the Nested iView. I am not able to connect this SignalOut and Signal In.
    I read forums that the solution can be achieved through data store in the Nested iView and then connect the data store and Signal In. My problem is how will the Data Store and Signal In get the parameters.
    I also tried connecting the Out port of the Output table to the Signal In of the Nested iView but i am not able to do the mapping.
    Can someone pls help me here?
    Thanks,
    Nagarajan.

    Hi Nagarajan,
    I dont think you need a Signal Out here, you can directly link the output port of the table to the Input port of the nested iview and select the event as "SELECT".
    with the above setup in place, you need to assign all the fields with proper values in the connection links(both in the parent iView and nested iview). also check if you have created the field in the signal in and assigned it a value properly to the input port of the data service or query properly.
    Try this and let me know if this does not work.
    Regards,
    Rk.

  • Uncommitted Data warning on loading the taskflow

    Hi,
    I want to use the Uncommitted data warning for our application.
    I am getting the Uncommitted data warning while loading the taskflow.
    I am using the JDeveloper 11g 11.1.1.3.0
    I have create Taskflow with Isolated scope and start new transaction every time.
    My Takflow have Following thing:
    1) Execute Action: Which will call as default activity adn load the data.
    2) Router: That will if row exist in view then transfer to jsff page otherwise Call CreateInsert binding action and then redirected to same jsff page.
    3) Jsff Page: jsff page that have panelFormLayout with the fields for add/Update.
    In that scenario if my table don't have any record in database that why CreateInsert binding action will called. Once it will called and control is redirected to jsff page.
    Page is throwing the uncommitted data warning but there is not data on that page only the blank fields are there.
    If I click on OK button of popup that is showing blank screen not even label of the fields.
    Can anybody tell me please how can i resolve this issue?
    How will my page will appear with calling CreateInsert binding Action with UncommitedDatawarnings set as on?
    Thanks in Advance
    Amit

    As per http://www.oracle.com/technetwork/issue-archive/2012/12-mar/o22adf-1518265.html , in 11.1.2.1) or later ->
    Access the tab transaction state. Tabs can be marked as having their content changed, in which case they are referred to as dirty.
    A warning dialog box will appear if users or the application try to close these tabs. A tab’s dirty state can be checked and manipulated with the TabContext API.Looks like this is available out of the box.

  • 2008 Mac Pro 10.5.8 shuts down after hours of no use, Set to never shut down. Can be resumed pressing any key but all programs not in startup list need to be restarted and unsaved data lost .   New behavior.  No system changes.

    2008 Mac Pro 10.5.8 shuts down after hours of no use, Set to never shut down. Can be resumed pressing any key but all programs not in startup list need to be restarted and unsaved data lost .   New behavior.  No system changes.

    2008 Mac Pro 10.5.8 shuts down after hours of no use, Set to never shut down. Can be resumed pressing any key but all programs not in startup list need to be restarted and unsaved data lost .   New behavior.  No system changes.

  • Unexpected Uncommitted Data Warning

    Build JDEVADF_11.1.1.6.0_GENERIC_111205.1733.6192.1
    I have a bounded task flow (The rule TF) wherein I have a table which is backed by a programmatic VO (the rule condition VO). The default page for the rule TF is displayed in the main area of the UI shell template. The rule TF always begins a new transaction and shares data control with the calling task flow.
    From within the rule task flow, I can call a bounded task flow to select a set of products (the select target products TF). The select target products TF used shared transaction ("Always use Existing Transaction") and shares data control with calling task flow. Originally, I wanted to run this as a dialog, but there appears to be some bug in the UI shell that prevents this, so now I have run as dialog "False" and Display type "External Window". The default view for this task flow renders into the main area of the UI shell.
    When I add rule conditions and then invoke the select target products TF, I get an "Uncommitted data warning" when I press the OK button in that task flow, which returns the selected products to the calling task flow. The warning appears to happen after I get the return value from the select target task flow.
    If I don't add any rule conditions and simply invoke the select products TF, I do not see an issue.
    According to http://www.oracle.com/technetwork/developer-tools/adf/unsaveddatawarning-100139.html, calling a bounded task flow from a bounded task flow with shared transaction should NOT cause this.
    Is this a bug? Is there a workaround for this?
    Thanks, -Klaus

    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:c="http://java.sun.com/jsp/jstl/core">
    <c:set var="ResourcesGenBundle"
    value="#{adfBundle['oracle.apps.common.acr.resource.ResourcesGenBundle']}"/>
    <c:set var="ZspBusinessRulesAttrBundle"
    value="#{adfBundle['oracle.apps.spe.businessRules.resource.ZspBusinessRulesAttrBundle']}"/>
    <c:set var="ZspBusinessRulesGenBundle"
    value="#{adfBundle['oracle.apps.spe.businessRules.resource.ZspBusinessRulesGenBundle']}"/>
    <af:pageTemplate viewId="/oracle/apps/fnd/applcore/templates/UIShellMainArea.jspx"
    id="pt1">
    <f:facet name="localArea">
    <af:panelHeader text="#{pageFlowScope.ManageRuleFolder.title}" id="ph1">
    <f:facet name="menuBar">
    <af:panelFormLayout id="pfl2">
    <af:toolbar id="t2" stretchId="s2" flex="1"
    inlineStyle="background-color:transparent;">
    <af:spacer width="2" height="2" id="s2" clientComponent="true"/>
    <af:commandButton text="#{ResourcesGenBundle['Action.OK']}"
    id="cb1" action="OK"/>
    <af:commandButton text="#{ResourcesGenBundle['Action.Cancel']}"
    id="cb2" action="CANCEL"
    immediate="true"/>
    </af:toolbar>
    </af:panelFormLayout>
    </f:facet>
    <af:panelGroupLayout layout="scroll" id="pgl1">
    <af:panelFormLayout id="pfl-d">
    <af:selectOneRadio id="sor1"
    label="#{ZspBusinessRulesAttrBundle['ColAttr.FolderType.RuleFolderType.RuleFolderEO.RuleTypeName']}"
    value="#{pageFlowScope.ManageRuleFolder.ruleTypeName}"
    autoSubmit="true" required="true"
    disabled="#{pageFlowScope.ManageRuleFolder.ruleFolderId != null}">
    <af:selectItem label="#{ZspBusinessRulesGenBundle['OLabel.Prediction.PredictionRuleType']}"
    value="#{pageFlowScope.ManageRuleFolder.recommendationRuleType}"
    id="si1"/>
    <af:selectItem label="#{ZspBusinessRulesGenBundle['OLabel.Eligibility.EligibilityRuleType']}"
    value="#{pageFlowScope.ManageRuleFolder.eligibilityRuleType}"
    id="si3"/>
    </af:selectOneRadio>
    <af:spacer width="10" height="10" id="s5"/>
    <af:inputText id="id2" columns="50" maximumLength="#{pageFlowScope.ManageRuleFolder.maxNameLength}"
    label="#{ZspBusinessRulesAttrBundle['ColAttr.FolderName.NameofRuleFolder.RuleFolderEO.RuleFolderName']}"
    value="#{pageFlowScope.ManageRuleFolder.name}"
    autoSubmit="true" required="true">
    <af:validateLength maximum="#{pageFlowScope.ManageRuleFolder.maxNameLength}" minimum="1"/>
    </af:inputText>
    <af:spacer width="10" height="10" id="s55"/>
    <af:inputText id="id3" columns="50" maximumLength="#{pageFlowScope.ManageRuleFolder.maxDescriptionLength}" rows="5"
    wrap="soft"
    label="#{ZspBusinessRulesAttrBundle['ColAttr.Description.RuleFolderDescription.RuleFolderEO.Description']}"
    value="#{pageFlowScope.ManageRuleFolder.description}"
    autoSubmit="true" required="true">
    <af:validateLength maximum="#{pageFlowScope.ManageRuleFolder.maxDescriptionLength}" minimum="1"/>
    </af:inputText>
    <af:spacer width="10" height="10" id="s4"/>
    <af:inputDate label="#{ZspBusinessRulesAttrBundle['ColAttr.StartDate.RuleFolderEffectiveStartDate.RuleFolderEO.EffectiveStartDate']}"
    id="id1"
    value="#{pageFlowScope.ManageRuleFolder.effectiveStartDate}"
    autoSubmit="true" required="false">
    <af:convertDateTime pattern="#{applCorePrefs.dateFormatPattern}"/>
    </af:inputDate>
    <af:spacer width="10" height="10" id="s6"/>
    <af:inputDate label="#{ZspBusinessRulesAttrBundle['ColAttr.EndDate.RuleFolderEffectiveEndDate.RuleFolderEO.EffectiveEndDate']}"
    id="id4"
    value="#{pageFlowScope.ManageRuleFolder.effectiveEndDate}"
    autoSubmit="true" required="false">
    <af:convertDateTime pattern="#{applCorePrefs.dateFormatPattern}"/>
    </af:inputDate>
    <af:spacer width="10" height="10" id="s8"/>
    <af:selectBooleanCheckbox text="#{ZspBusinessRulesAttrBundle['ColAttr.Active.IndicatorofActiveRuleFolder.RuleFolderEO.ActiveFlag']}"
    selected="#{pageFlowScope.ManageRuleFolder.activeFlag}"
    label="#{null}" id="sbc1" autoSubmit="true"/>
    </af:panelFormLayout>
    </af:panelGroupLayout>
    </af:panelHeader>
    </f:facet>
    </af:pageTemplate>
    </jsp:root>

Maybe you are looking for