DataMerge

A data merge object.

Methods:

mergeRecords, removeDataSource, selectDataSource, updateDataSource

Objects:

DataMergePreference, Object

Preferences:

DataMergePreference

Property Listing

Property

Type

Access

Description

dataMergePreferences

DataMergePreference

readonly

The data merge preference properties that define the layout and content of the target page.

parent

Document

readonly

The parent of the DataMerge (a Document).

properties

Object

read/write

A property that allows setting of several properties at the same time.

Method Listing

undefined mergeRecords (outputOversetReportFile:File)

Merges records and produces an optional overset report.

Parameter

Type

Description

outputOversetReportFile

File

The path to the file in which to store the overset report. (Optional)

undefined removeDataSource ()

Removes the data source.

undefined selectDataSource (dataSourceFile:File, [dataSourceType:DataSourceType=DataSourceType])

Select data source

Parameter

Type

Description

dataSourceFile

File

The data source file

dataSourceType

DataSourceType

DataSourceType.COMMA_SEPARATED

DataSourceType.TAB_DELIMITED

The data source type enumeration option to use to indicate the file format. (Optional)

(default: DataSourceType.COMMA_SEPARATED)

undefined updateDataSource ()

Updates the data source file with the most current data.

Object of

Document.dataMergeProperties

DataMergePreference.parent