Inserts a new application field at the current input position.
<void> ApplicationFieldCollection.add(<ApplicationFieldFormat> format, <string> typeName, <string> text, <string[]> parameters, [<RequestApplicationFieldCallback> callback], [<ErrorCallback> errorCallback])
Parameter | Description |
---|---|
format | Specifies the format of the field. The format depends on the application that supports the field. It can be Application |
type |
Specifies the type name of the field. For example the type name of a Microsoft Word Merge |
text | Specifies the visible text of the field. |
parameters | Specifies an array of strings which are the field's parameters. The order and format of the strings depend on the field's format. For example a Microsoft Word Merge |
callback | Optional. Receives the added Application |
error |
Optional. Is called when the operation failed with an error. |
Learn more about the Javascript: Application