You can use column rules to configure the presentation of a data view that appears as columns in a report.
Follow these steps:
The Report Builder page appears, with Data Objects selected in the left menu under the main menu.
The list of existing data view folders appears.
The data view opens for editing.
The Create Column Rules dialog appears.
The settings appear for the selected column.
The Catalog system saves the column rule.
You have set up the column rule.
When you configure column rules while adding a data view, you optionally configure the specifications on each tab of the Column Rules dialog. Each tab contains one or more fields. For each tab, this topic explains the fields that require explanation.
Linking Tab
The following fields on this tab require explanation:
Specifies whether to link the values in the column to another web page, either within or outside CA Service Catalog.
Select this field to activate it and to open the fields under it for editing.
When a user clicks a value in this column in a report, this link activates, and the linked item appears. Options follow:
Specifies a link within CA Service Catalog to another data view, a report layout, or a GUI node.
Specifies one of the following:
Also, the Link Address field optionally specifies a variable from the data object on which the data view is based. Click the Insert Variables icon to add a variable to this field.
Formulas Tab
The following fields on this tab require explanation:
Specifies whether to apply a JavaScript formula to the column value.
Select this field to activate it and to open the fields under it for editing.
Specifies an image formula to apply on the data for the column. Use the formula to format a cell or row based on a value. Use the following format:
IMG:image_file_path
image_file_path specifies the folder and file name under the USM_HOME\view\webapps\usm folder.
For example, the following line displays the add.gif image in the cell for the column:
IMG:images/add.gif
To include the cell text also, enter the column name variable within the single quotes. An example follows:
IMG:images/add.gif]%Col1%
Note: If you use multiple Catalog Component servers, verify that this file resides in the same folder location on all servers.
Specifies variable from the data object to use in the column formula. To use a variable, click the Insert Variables icon.
Examples of formulas using JavaScript follow:
100*%name%
Math.max(%Col1%,%Col2%)
(10*%Col1%)+(20/%Col2%))+' Units'
%name%’.toUpperCase()
Translations Tab
The following fields on this tab require explanation:
Specifies whether to apply a translation formula to the column value.
Select this field to activate it and to open the fields under it for editing.
Substitutes a translated value for each data object value. You can optionally apply the translation before applying a formula to the column value.
For example, a column can return data as integer value 1 which means opened, and 2 which means closed. You can apply translations that do the following:
Formatting Tab
The following fields on this tab require explanation:
Applies formatting to a column. Examples include font, justification, highlighting, and color.
Select this field to activate it and to open the fields under it for editing.
Summary Tab
The following fields on this tab require explanation:
Adds summary information for the column.
Select this field to activate it and to open the fields under it so that you can select them. The fields you select appear in the summary of the report.
|
Copyright © 2013 CA.
All rights reserved.
|
|