Field Extensions

Overview

Field extensions allow you to add functionality to activity elements directly within the studio, rather than on the Elsa Server side. Extension can be ordered and filtered to render on either, All components, specific InputUIHints components, specific activity names or InputAttribute.DefaultSyntax.

Example

In this example, a simple field extension is applied to the Client property. It displays a message beneath all InputUiHint.DropDown's, and an additional toolbar at the top of the query editor—shown only when the syntax type is "sql".

Creating a field extension

To create a field extension you can implement the IFieldExtension interface:

Then register the custom extension with DI.

All relevant elements will now have this extension automatically applied.

Last updated