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.

Offline Support

This activity works when the device is offline.

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: Object

The definition of the form element to add.

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

Outputs

This activity has no outputs.

Properties

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

Version Information

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

© 2018 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 5.9