Skip to content

ActionFieldType

Enum in Oadm.Sdk.Actions · Oadm.Sdk.dll

Input kinds of a declarative action setting; the client draws the form from them.

public enum ActionFieldType
Name Value Description
Text 0 One line of text. Placeholders such as {device} are filled by IActionContext.Text.
Multiline 1 Several lines of text (an email body).
Number 2 A whole number between ActionField.Min and ActionField.Max.
Bool 3 A check box; the value is true or false.
Choice 4 One of ActionField.Choices.
DynamicChoice 5 One of a list the action plugin returns at edit time (IActionPlugin.ListChoicesAsync), e.g. the saved VAPIX Commander commands.
Password 6 A secret: stored encrypted on the server, never sent back to a client, decrypted only for the run.
Code 7 A body with a format (JSON, XML, HTML, text), drawn as a code editor colored by ActionField.Language or by the value of the field ActionField.LanguageKey (“json”, “xml”, “html”, “text”, “form”).
KeyValues 8 Rows of name and value (HTTP headers, query parameters); stored as a JSON array of {“name”, “value”}.