Create Feature Activity

Description

Creates a new Feature (Esri Graphic) object from the supplied geometry, attributes and symbol.

Usage

You may need to create a feature with information you have generated within the workflow. To create a feature you could gather input from a user using the Display Form activity then use the Create Feature activity with the information provided from the user.

Inputs

Attributes

Optional

Type: Object

Name-value pairs of fields and field values associated with the graphic.

Geometry

Optional

Type: esri.Geometry (3.x, 4.x)*

The geometry that defines the graphic's location.

Symbol

Optional

Type: esri.Symbol (3.x, 4.x)*

The symbol for the graphic.

* Geocortex Workflow uses different versions of Esri's ArcGIS API for JavaScript depending on the type of host application. See Underlying Technologies for information.

Outputs

feature

Type: esri.Graphic (3.x, 4.x)*

The Feature result.

* Geocortex Workflow uses different versions of Esri's ArcGIS API for JavaScript depending on the type of host application. See Underlying Technologies for information.

Properties

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

Supported Environments

Environments capable of running this activity

Server

 

Client

Geocortex Web

Geocortex Mobile

Geocortex Viewer for HTML5

Web AppBuilder

Offline Support

This activity works when the device is offline.

Version Information

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

See Also...

Example - Create a Feature Set from Scratch

© 2019 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 5.15