Table of Contents

Interface CommandMetadataParams

Parameters used for the command metadata.
Will do either one of these:

  • if it has an entityId, will just open edit for that Entity
  • if it has no entityId, will open new for the current contentType and assign to the target specified by metadata:
    ⤴️ back to All Command Names
Package: Api.Js.SxcJs

Properties

contentType

The content-type name

Declaration
contentType: string
Property Value
Type Description
string

entityId

ID of item to edit.

Declaration
entityId: number
Property Value
Type Description
number

metadata

Target to assign the metadata to.

Declaration
metadata: CommandParamsMetadata
Property Value
Type Description
CommandParamsMetadata