Initializing help system before first use

vdl-action-attachment-create

Create a new attachment either on the scenario or app. The value passed into this action will return unchanged.

Required parent element

Must be contained within one of the following elements:

Example

<vdl-action-group name="createAttachment">
  <vdl-action-attachment-create filename="MyAttachment" file-extension="txt" tag="my-tag"></vdl-action-attachment-create>
</vdl-action-group>

Attributes

tag The tag to be added to the attachment. required
editor Specify the editor to open the attachment in. Can be one of CTAttachmentEditor, TextAttachmentEditor, DecisionTableAttachmentEditor. Defaults to TextAttachmentEditor.
file-extension A file extension to be appended to the attachment name (separated by a dot). accepts expression
filename A name for the attachment (not including a file extension). If not specified then a filename will be generated. accepts expression
scenario The scenario to create the attachment in when scope="scenario", defaults to the first scenario. You can specify either a scenario id or the current position of the scenario on the shelf. accepts expression
scope The scope of the attachment to create. Either "app" or "scenario". Defaults to "scenario".