Siebel Developer's Reference > User Properties > Control User Properties >

Saving Unsaved Data


The PostMainViewData control user property prevents Siebel CRM from losing unsaved data if a control calls a method that modifies the main view before Siebel CRM saves any new data that resides in the current record. The value for this user property must include one of the following values:

  • TRUE. If the current record contains modified data:
    • In a high interactivity view. Siebel CRM saves the current record before the control modifies the focus.
    • In a standard interactivity view. Siebel CRM displays a message that warns that unsaved data might be lost. This message does not display unless you also add the following parameter to the InfraUIFramework section of the application .cfg file:

    EnableSIDataLossWarning = TRUE

  • FALSE or this user property does not exist. Siebel CRM calls the control method and does not write unsaved data to the current record.

It is recommended that you set the PostMainViewData user property on each control that affects how Siebel CRM saves data, such as the Attach button. For example, if the All Service Requests view is the main view, then the user can click the Search button before Siebel CRM saves the current record. If the user runs a search, and then clicks the Attach button for a record, then Siebel CRM drills down on the Results list into the active record. This configuration modifies the applet that resides in the main view and Siebel CRM might lose the new data that resides in the unsaved service request.

You can configure Siebel CRM to deactivate this user property, modify the value for it, or if an instance of it is not already defined, then to create a new instance of it.

Siebel Developer's Reference Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.