Interface CommandNewParams
Parameters used for the command new
The ContentType name determines what kind of item will be created.
Can also contain prefill
to add values to the new item.
Can also contain list-information, in which case it's added to that list.
Depending on your use case, you will need to use the
CommandParamsEntityInList or CommandParamsEntityInContentBlock parameters as well.
⤴️ back to All Command Names
Package: Api.Js.SxcJs
Properties
contentType
The content-type name
Declaration
contentType: string
Property Value
Type | Description |
---|---|
string |
prefill
Optional values to prefill in the new-form
Declaration
prefill?: Record<string, boolean | string | number>
Property Value
Type | Description |
---|---|
Record<string, boolean | string | number> |