Appearance
Create an entity from an action
Use method: "create" with an editor. The editor chooses panel, modal, or direct-request mode, identifies an object/link target, and defines tabs or fields.
json
{
"id": "create-order",
"method": "create",
"label": "Create order",
"editor": {
"mode": "modal",
"entityType": {
"object": { "metaTypeName": "ProductionOrder" }
},
"fields": [
{ "attribute": "itemId", "label": "Order", "required": true },
{ "attribute": "name", "label": "Name" }
]
}
}For typed inputs, metadata, defaults, regex, object selection, and link endpoints, see values and editors. For custom creation through a metamethod, use the runMethod guide.
Open create forms with API and explicit metadata