DataItemName Tag

ClosedDescription

Sets the name of a data item that will be used as an occurrence. Used with a <MediaHandling> tag action to trigger actions that are associated with database values, named data sources, or named objects.

ClosedSyntax

<DataItemName>Value</DataItemName>

Where Value equals the name of a data item used as an occurrence.

ClosedParent Tag

<MediaHandling>

ClosedRemarks

The <DataItemName> tag sets the name that is used to reference the data item by which the media handling action will be triggered. The <DataItemType> tag should be set to specify the kind of data to be evaluated. It will be present only if the <Action> and <Occurrence> tags make it relevant.

<DataItemName> is an optional tag that is used with the <Print> and <FormatSetup> commands when the <MediaHandling> tag is included in the script.

ClosedExample

<?xml version="1.0" encoding="utf-8"?>

<XMLScript Version="2.0" Name="09232006_103601_Job1" ID="123">

<Command Name="Job1">

<Print>

<Format>Document1.btw</Format>

<MediaHandling>

<Action>btMHPageBreak</Action>

<DataItemName>TheDataItemName</DataItemName>

<DataItemType>btMHNamedSubString</DataItemType>

<Occurrence>btMHAfterDataChange</Occurrence>

</MediaHandling>

</Print>

</Command>

</XMLScript>

ClosedRequirements

BTXML Script version 1.0 (BarTender 8.0 and later versions)

Related Topics