Skip to main content
A newer version of this page is available. .

CreateMergeFieldCommand Methods

A command to insert a MERGEFIELD field (with a data source column name) at the current position in the document.
Name Description
execute(fieldName)

Executes the CreateMergeFieldCommand command by applying the specified setting.

May result in taking no action if the command’s state does not allow command execution. Use the object’s getState method to check the command state.

getState Inherited from CommandWithSimpleStateBase.
See Also