Field Extensions
Overview
Field extensions allow you to add functionality to activity elements directly within the studio, rather than on the Elsa Server side. Extensions can be ordered and filtered to render for all components, specific UIHintComponent values, specific activity types, or specific syntaxes.
Example
In this example, a simple field extension is applied to the Client property. It displays a message beneath all InputUIHints.DropDown fields, 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 IUIFieldExtensionHandler interface:
Then register the custom extension with DI.
All relevant elements will now have this extension automatically applied.
Last updated