Get form configuration

Retrieve the form's configuration

Retrieves the form's configuration, including its field definitions and layout.

Custom components only

Available only on the Form instance returned by initForm(), not on the base Form (kf.context) in the Low-code / No-code SDKs.

Syntax

const form = await kf.app.getDataform("EmpMaster").initForm("emp_123");
let configuration = await form.getFormConfiguration();

Returns

Returns an object describing the form's configuration.

On this page