Add Form Element Activity

Description

The Add Form Element activity allows you to place a new form element on the form while the workflow is running. There are a few limitations to what can be added using this activity. It is not possible to create event handlers for new form elements. Also, you cannot add another Header to the form.

Usage

You could use the Query Layer activity to perform a search and then use the For Each activity with an Add Form Element activity to add Text Boxes for all of the attributes present in the search results.

Inputs

Element ID

Required

Type: String

The ID of the form element to add.

This must be unique. If you attempt to use an ID that is already present on the form, it will cause an error.

Type

Required

Type: String

The type of form element to add.

You can specify any type of form element except for Header. A form cannot have more than one Header element.

Element

Optional

Type: Element

The definition of the form element to add.

You can supply as many properties of the form element here as you like. If the element contains a property called type, its value is ignored.

Target Form

Optional

Type: <Display Form>

The form to add the element to. For example, =$form1. Leave Target Form blank to use the most recently shown form.

Outputs

This activity has no outputs.

Properties

For information about the ID, Display Name, and Description properties, see Properties Common to all Activities.

Connectivity Requirements

This activity works when the device has intermittent connectivity to the network.

Version Information

Supported from: Geocortex Viewer for HTML5 2.9, ArcGIS Web AppBuilder 2.4.