Purpose
Builds and returns the “create new entry” form. When triggered from a subtable, the parent context is carried along so the new entry is linked to its parent on save.
Payload
form— id of the form to renderentity— entity iddatatable/datatable_identifier— the DataTable to refresh after savingparent_id,parent_entity_id,linked_to— parent context for auto-linking (subtable case)options— rendering optionsclose_modal— whether saving should close the modaltoken— form token
Response
CALLBACK_TYPE_MODAL with the rendered form, CALLBACK_TYPE_STRING for inline rendering, CALLBACK_TYPE_MESSAGE on errors.
Notes
Internal action — triggered by WR’s own frontend JS. The payload shape is not a public API and can change between releases.
