2021.2

Table Of Contents
record.tables.details[3].set({customerName : "John Doe",
customerAddress : "123 test road"});
The following script adds an empty row to the table and then extracts some data into the
Description field of the new row.
row = record.tables.myDescriptions.addRow();
record.tables.myDescriptions[row].set( {Description : data.extract
((52+i*12),(66+i*12),0,1,"<br />")} );
Functions
copyFile()
Function that copies a file to the target file path, replacing it if it already exists.
copyFile(source, target)
source
String that specifies the source file path and name.
target
String that specifies the target file path and name.
Example
This script copies the file test.txt from c:\Content into the c:\out folder.
copyFile("c:\Content\test.txt","c:\out\")
createGUID()
This function returns a unique 36-character string consisting of 32 alphanumeric, lower case
characters and four hyphens.
Format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx (8-4-4-4-12 characters).|
Example: 123e4567-e89b-12d3-a456-426655440000.
The function produces unique strings on each and every call, regardless of whether the call
occurs within the same data mapper or not, or on concurrent threads.
Page 435