A data merge object.
Go to Property Listing | Method Listing
exportFile, getElements, mergeRecords, removeDataSource, selectDataSource, toSource, toSpecifier, updateDataSource
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
readonly |
A collection of data merge fields. |
||
|
readonly |
The data merge preference properties that define the layout and content of the target page. |
||
|
readonly |
Returns true if the object specifier resolves to valid objects. |
||
|
readonly |
The parent of the DataMerge (a Document). |
||
|
read/write |
A property that allows setting of several properties at the same time. |
undefined exportFile (to:File, using:PDFExportPreset, outputOversetReportFile:File)
Merges records and exports to PDF.
|
Parameter |
Type |
Description |
|---|---|---|
|
to |
The path of exported PDF file. |
|
|
using |
The PDF export style to use. (Optional) |
|
|
outputOversetReportFile |
The path to the file in which to store the overset report. (Optional) |
DataMerge getElements ()
Resolves the object specifier, creating an array of object references.
undefined mergeRecords (outputOversetReportFile:File)
Merges records and produces an optional overset report.
|
Parameter |
Type |
Description |
|---|---|---|
|
outputOversetReportFile |
The path to the file in which to store the overset report. (Optional) |
undefined removeDataSource ()
Removes the data source.
undefined selectDataSource (dataSourceFile:File)
Specifies the file to use as the data source.
|
Parameter |
Type |
Description |
|---|---|---|
|
dataSourceFile |
The path to the data source file. |
String toSource ()
Generates a string which, if executed, will return the DataMerge.
String toSpecifier ()
Retrieves the object specifier.
undefined updateDataSource ()
Updates the data source file with the most current data.