Writeback Formatting, Cell Locking and Data Validation

Revision as of 17:09, 6 February 2023 by Jcc (talk | contribs)

Once writeback has been enabled for a grid, it is possible to use the Formatting_Grids#Format_sheet as well as additional Custom Format Areas to format and lock the grid cells.


Enabling writeback for a grid

Data entry mode in an XLCubed grid is turned on by ticking the ‘Enable Writeback’ box in the Grid Properties window.

01 WBFformattingLocking.png


If you’re using FluenceXL, you also need to enable data entry mode at the workbook level from the FluenceXL\Options\Workbook Options menu item.

02 WBFformattingLocking.png

Please refer to the writeback page for further details.

Basic data entry formatting

Highlighting cells

You can highlight writeable data cells by: 1. Ticking ‘Highlight Data’ box in the Grid Properties window:

03 WBFformattingLocking.png

2. Defining a format for the ‘Writeable Member’ data cell in the XLCubedFormats sheet:

04 WBFformattingLocking.png

Here the result:

05 WBFformattingLocking.png

You can also provide visual feedback for the user during the data entry process by highlighting the cells that were changed and the ones that were impacted:

1. Select ‘Show Updates’ under refresh type after writeback

06 WBFformattingLocking.png

2. Define a format for the cells changed by the use (‘Written Cell’) and the impacted ones (‘Summary written cell’)

07 WBFformattingLocking.png

Here the result:

08 WBFformattingLocking.png

Using offline data entry mode

Using the offline data entry mode is recommended for performance reasons. When this mode is activated, the journal of pending changes can be viewed by clicking the ‘Manage…’ button.

09 WBFformattingLocking.png


All changes can then be saved or discarded at once by using the buttons in the ‘Editing’ ribbon.

10 WBFformattingLocking.png

Note that you still need to be connected to the underlying cube / model to use the offline data entry mode.

Formatting and locking cells

When writebacka is enabled for a grid, any cell can be changed and data entry permissions only rely on the security defined in the source cube/model. You can change this default behaviour and control which cells should be allowed for data entry at the grid level by ticking the ‘Cells must be unlocked’ box in the Grid Properties window.

11 WBFformattingLocking.png


As cells grid cells are by default locked in the format sheet, any writeback should now be prevented in the grid.

12 WBFformattingLocking.png


13 WBFformattingLocking.png

Formatting and locking cells with the format sheet

The locking of specific slices of data follows the same rules as the standard XLCubed formatting defined in the ‘XLCubedFormats’ sheet. Please read the dedicated the Format_Sheet page for more details.

The below examples illustrate this.