Displaying an existing editable grid as a read-only grid
You can display an editable grid as a read-only grid.
The grid component for the read-only grid must have the following properties:
The attribute type must be Line Truncate View, Line Wrap View, or Two Line Staggered View.
The database table must be the same as the database table for the grid component for the editable grid.
The table key column must be uap_grid_row_id.
IBM
®
Operações de Marketing
automatically creates this column for all editable grids.
If you want the read-only grid to display only the values users enter in the grid for this object (for example, this project), select the Filter by Parent ID check box and enter the editable grid component's Table Key Column value in the read-only grid component's Parent ID Column Name field.
Otherwise, the read-only grid displays all values entered using this grid in all objects.
The form that contains the editable grid must be published before you create the read-only grid. Otherwise, you cannot save the form that contains the read-only grid. If you want the editable grid and the read-only grid to be on the same form, you must create the editable grid, publish the form, and then create the read-only grid.
The attributes that the read-only grid contains must be exact matches of attributes that the editable grid contains. You can accomplish this requirement in one of three ways.
Copy the form that contains the editable grid. You must delete the grid component for the editable grid, create a component for the read-only grid, and drag the grid attributes onto the new component, but you do not need to recreate the grid attributes.
Use shared attributes when you create the editable grid so that the attributes can be imported into the Form Editor when you create the read-only grid.
Recreate the attributes in the Form Editor when you create the read-only grid. The attribute properties must match the original attributes exactly.
The one exception is that read-only grids cannot contain single-select or multi-select object references. If the editable grid contains attributes of these types, you must replace them with single list object reference attributes.
Copyright IBM Corporation 2013. All Rights Reserved.