Variables Within Variables
- Variable text must be identical for the starting and ending tags of the variable. The variable text is case sensitive.
- Within an overlay or cover page, all variable codes should be the same case, regardless of variable stamp type.
Variables within variables: example 1
Place the following variables and text in the header or footer of a page in an overlay or cover page template:
Volume <VN >, Page < VR> of <VT >
This will be the result in the published output:
| Volume 12 , Page 4 of 350 |
Variables within variables: example 2
- Place a single variable in the header or footer of the overlay or cover page template:
<PAGE_NUM > - Next, add the variable PAGE_NUM to the Variables tab in the Assembly Publishing settings:
Volume $Bates($VN,6), Page $VR of $VT
This will be the result in the published output:
| Volume 00012, Page 4 of 350. |
<PAGENUM >
On the Variables page in AsmPubSettings you cannot define:
PAGENUM = "Page $CHANNELPAGE"
CHANNELPAGE = "$LR of $LT" (Electronic variable)
CHANNELPAGE = "$VR of $VT" (Paper variable)
But you can define:
PAGENUM = "Page $LR of $LT" (Electronic variable)
PAGENUM = "Page $VR of $VT" (Paper variable)
Channel Specific Variables
User-defined variables may have different values depending on the output channel being published.
The PAGE_NUM variable in example 2 (above), is suitable for paper publishing.
If the assembly is to be published in both paper and eCTD electronic channels, the PAGE_NUM variable above could be assigned to the paper output channel. Another PAGE_NUM variable should be assigned to the electronic output channel with a more appropriate value such as: ${LABBR}, Page $LR of $LT.
The ${} notation is required so that the comma directly follows the Abbreviated Leaf name when the variable is resolved.