DataItemType Tag

ClosedDescription

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

ClosedSyntax

<DataItemType>Value</DataItemType>

Where Value can be set to one of the following:

ClosedParent Tag

<MediaHandling>

ClosedRemarks

The <DataItemType> tag sets the type of data to be used for media handling in the document. Use the <DataItemName> tag to specify the name to be evaluated.

<DataItemType> 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>btMHNamedObject</DataItemType>

<Occurrence>btMHAfterDataChange</Occurrence>

</MediaHandling>

</Print>

</Command>

</XMLScript>

ClosedRequirements

BTXML Script version 1.0 (BarTender 8.0 and later versions)

Related Topics