Adobe InDesign CS (3.0) Object Model JS: DataMerge

InDesign CS

Class

DataMerge

 A data merge object.

QuickLinks

mergeRecords, removeDataSource, selectDataSource, updateDataSource

Hierarchy

Document
DataMerge
DataMergePreference

Properties

PropertyTypeAccessDescription
dataMergePreferencesDataMergePreference readonlyThe data merge preference properties that define the layout and content of the target page.
parentDocument readonlyThe parent of the DataMerge (a Document).
propertiesObject r/wA property that allows setting of several properties at the same time.

Methods

Instances

void mergeRecords ([outputOversetReportFile: File])
Merges records and produces an optional overset report.

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

void removeDataSource ()
Removes the data source.

void selectDataSource (dataSourceFile: File[, dataSourceType: DataSourceType=DataSourceType.COMMA_SEPARATED])
Select data source

ParameterTypeDescription
dataSourceFileFileThe data source file
dataSourceTypeDataSourceType:
DataSourceType.COMMA_SEPARATED
DataSourceType.TAB_DELIMITED
The data source type enumeration option to use to indicate the file format. (Optional) (default: DataSourceType.COMMA_SEPARATED)

void updateDataSource ()
Updates the data source file with the most current data.

Element of

DataMergePreference.parent

Document.dataMergeProperties

Jongware, 27-Jun-2010 v3.0.3dContents :: Index