Column Set Tags
Column set tags are used to define reusable sets of columns in a definitions block. Column-set blocks can include expand-set blocks. Expansion columns are an option for tabular page types. Note that there are different types of "columns": text, bullet, alert, and image. A column set block is defined using a column-set tag with additional tags between an open { and close } brace.
Tag |
Examples |
Status |
Notes |
---|---|---|---|
column-set |
column-set id = "monthly_columns" { ... } |
Required | Defines the column-set block. When specified, the id names the block so that it can be referenced elsewhere in the script. |
alert |
alert { alert-style "triangle" value column = "$(summary) YTD Y-0 % Diff" low-threshold -10 high-threshold 10 middle-color "transparent" width 30 } |
Optional |
Defines an alert style column. Note the additional sub-attributes:
|
bullet |
row { bullet column = "Units" { bar-color "#888888" } } |
Optional |
Defines a bullet style column. Note the additional sub-attributes:
|
column |
text "Sold" column = "Vehicles Sold" |
Required |
Specifies the data column from the cPlan. Note the sub-attributes for an in-line column:
|
expand |
expand-set id = "ex-cases-r12" { pass-parameter "summary" "Cases" } |
Optional | Names a set of expansion columns defined in a definitions block. Expansion sets can only be used in tabular pages. |
id
|
column-set id = "Quarters and Months" |
Optional |
Gives the block an identifier that can be referenced in other blocks. |
image |
layout { image { path "/divetab/images/icon.png" } } |
Optional |
Defines an image style column. Note the additional sub-attributes:
|
link |
report-page id = "rp-respteam" { title "Units by Salesperson" cplan "/cplans/basic_101.cplan" dimension "Resp Team" text column = "Cases" { link { page id = "productgrp" } } } |
Optional |
Specifies the column link. Note the sub-attributes:
The reference types are:
|
pass-parameter |
pass-parameter "summary" "Profit" |
Optional |
Sends the indicated value for the named parameter. NOTE : You can only pass hard-coded strings—expressions are not supported. |
take-parameter |
take-parameter "summary" |
Optional |
Accepts the passed value for the named parameter. |
text |
text column = "Cases" text "Q1" column = "$(summary) Q1" text "Last YTD" column = "$(summary) YTD Y-1" { value-format "#,###.00" } text "Cases LYTD" column = "Cases YTD Y-1" { value-format "#,###.00" width 100 } |
Optional |
Defines a text style column. Note the additional sub-attributes:
|
See also:
- What is an Alert?
- What is a Bullet?
- Expand Set Code Block
- What is a Parameter?
- What is a Definitions Block?