Skip to main content

CreateMergeFieldCommand.execute(fieldName) Method

Executes the CreateMergeFieldCommand command with the specified parameter.

Declaration

execute(
    fieldName: string
): boolean

Parameters

Name Type Description
fieldName string

A string value specifying the name of the merge field.

Returns

Type Description
boolean

true if the command has been successfully executed; false if the command execution has failed.

Remarks

Usage example:

richEdit.commands.createMergeField.execute("columnName");
See Also