In the Geocortex Workflow .NET SDK, form elements are represented by classes that extend the
Registering Form Elements
Form Elements must be registered through a custom workflow activity that extends
Using Form Elements
Custom form elements can be used in a form through the special "custom" form element. This form element displays custom form elements by referencing them by the
id they were registered with.
Custom form elements will only be available to a workflow if the form element registration activity is run beforehand. It's best practice to run the form element registration activity at the start of a workflow.
Raising Form Events
Geocortex Workflow form elements can raise events. A custom form element can also raise events, including a custom event type.
Events are raised through the
OnEventRaised method of the form component. The following custom form elements demonstrates how various form events can be raised.
Access Properties of Custom Form Elements
A custom form element may produce a value that a workflow needs to access at runtime. You can set a property on the
this.element object to expose that value to the form.
You can then use the Get Form Element Property activity to access the
value property, along with other properties supported by custom form elements.