evCreate API 5.7 Help

EvCreateFormResult Interface

The EvCreateFormResult TS interface defines data entered by a user in a form inside a custom pop-up dialog displayed in the Canvas Envision Creator web app.

Properties

An EvCreateFormResult object has the following properties:

optional inputValues: Map<string, any>;

A Map object of key-value pairs representing the user's input in the custom pop-up dialog:

  • string: a key, an id of an input element, like a field, checkbox, radio button, etc., in the custom pop-up dialog.

  • any: a value, a value entered by the user in the input element.

status: FormStatus;

A member of the FormStatus enumeration, an indicator of how the user closed the custom pop-up dialog.

Examples

TS

{ inputValues: Map(3){ "date" => "2025-04-19", "part-no" => "1234567890", "passed", => true }, status: FormStatus.CONFIRMED }

JS

{ inputValues: Map(3){ "date" => "2025-04-19", "part-no" => "1234567890", "passed", => true }, status: "confirmed" }
01 May 2025