The concrete document class (SohlItem / SohlActor).
Creation data; type / system.subType pre-seed and lock.
Document creation options forwarded to create.
Dialog options.
Optionaltypes?: string[]A restriction of the creatable document types.
The created document, or null if the dialog was dismissed.
Shared
createDialogimplementation forSohlItemandSohlActor.Computes the allowed types (excluding the base document type, honoring an optional
typesrestriction), decides whether to ask for the type and the subtype (a valid pre-seeded value locks/hides its field), renders the shared create dialog through the dialog boundary — wiring progressive subtypes via the render hook — and on confirm creates the document and opens its sheet.