Users of a dashboard page or an analysis might have the ability to modify the data that they see in a table. This ability is often referred to as "write back." Users can update a value in the view that is written back to the record in the data source or is used in other views in the analysis.
For example, you can create an analysis that has Sales Quota Amount defined as a write back field, Sales Amount as a field from the data warehouse, and Percentage of Quota as a calculated field (Sales Amount/Sales Quota Amount). When viewing the analysis a user can modify the Sales Quota Amount and the Percentage of Quota field recalculates appropriately.
The ability to modify values affects the following types of users:
Administrators of the repository configure the columns in the repository to allow for write back.
Administrators set privileges for write back and prepare a write-back template, and administrators and content designers configure for write back from table views in dashboards and analyses.
End users modify records in table views.
The following list describes the steps in the process of write back:
As the content designer, you work with the administrator of the repository to assess the reporting needs in the organization and make a list of write-back columns needed and the analyses in which they should be displayed.
Hierarchical columns do not support the write-back capability but attribute columns, measure columns, and double columns do support the write-back capability. For double columns, you can write back to the display column. No automatic translation of the code column is provided.
The administrator of the repository configures the Oracle BI Server and the columns that should be available for write back, as described in Metadata Repository Builder's Guide for Oracle Business Intelligence Enterprise Edition.
The administrator performs the following tasks:
Prepares a file of SQL code to use as the "template" for write back.
Grants appropriate privileges for setting up and using write back. For example, the administrator gives you the privileges to set up views in which users can modify values.
For information on the write-back template and on privileges, see "Configuring for Write Back in Analyses and Dashboards" in System Administrator's Guide for Oracle Business Intelligence Enterprise Edition.
As the content designer, you enable one or more columns for write back, as described in "Adding the Write-Back Capability to a Column."
As the content designer, you enable a table view for write back, as described in "Adding the Write-Back Capability to a Table View."
As the content designer, you provide users with information on working with write back, as described in "Modifying Data in a Table View in a Dashboard Page or Analysis."
Users modify the values in views as appropriate.
To enable the write-back capability for a column, administrators and content designers use the Write Back tab on the Column Properties dialog. Correct privileges must be set, and the attribute, measure, or double column must be set as writeable in the repository. Ensure that the column relates to the write-back template that the administrator prepared. All the table views that include that column can display it as available for write back.
To enable the write-back capability for a column:
Open the analysis for editing in the Criteria tab.
Click the Options button beside a column on which you want to enable write back and select Column Properties.
The "Column Properties dialog" is displayed.
Click the Write Back tab.
If the column has been enabled for write-back in the repository, then the Enable Write Back box is available.
Click the Enable Write Back box.
Additional options for write-back are displayed.
In Text Field Width box, specify the width of the column.
Click OK to close the Column Properties dialog.
To enable the write-back capability for a table view, use the Write Back tab of the Table Properties dialog.
To enable the write-back capability for a table view:
In the Analysis editor, open the table view for editing.
Click the Table View Properties toolbar button.
The "Table Properties dialog" is displayed.
Click the Write Back tab.
Ensure that the Enable Write Back box is selected.
Select the Template Name box, then type the name of the template to employ for writing back values.
Check with the administrator for the appropriate template name.
Click OK.
If you enable write back in a view and accept the system defaults, then a user has two modes in which to work with values:
View mode: In this mode, a user simply views values. The user lacks the ability to modify values, before clicking the Update button to enter Edit mode.
Edit mode: In this mode, a user actually modifies values. To enter Edit mode, the user clicks the Update button on the view, when it is available. When in Edit mode, the user enters data in columns and can click the following buttons:
Revert: Changes back to the original values any modifications that the user has made but has not yet written back to the data source. Keeps the user in Edit mode.
Apply: Writes back to the data source any changes that the user has made and refreshes the view to display the most current data based on those changes. Keeps the user in Edit mode.
Done: Writes back to the data source any changes that the user has made, refreshes the view to display the most current data based on those changes, and returns the user to View mode.
You can modify the labels for these buttons using the options in the Write Back tab of the Properties dialog for the view. You can also use the Toggle Table Mode box to indicate that users do not toggle between View and Edit mode. Instead, they remain always in Edit mode. When toggling is disabled, the Update button is not displayed on the view.