Skip to main content

SET_METADATA

Set a field value in the object panel using a selector or XPath. Supports tagsinput and plain fields.

At a glance

  • Category Editor
  • Aliases CTX_SET_METADATA
  • Version: 1.0.0
  • Applications: all
  • Scope: all

Config Options

NameDescriptionDefaultRequiredResolvedConstraintsConditional Rules
selectorCSS selector of the input element to update.NonetruefalseNoneNone

Inputs

TypeDescriptionDefaultRequiredResolved
textText value to set in the field (used for non-tagsinput fields and fallback)Nonefalsefalse
listList of values to set (used for tagsinput fields)Nonefalsefalse

Examples

Set a text field

  - step: SET
text: "The value"
- step: SET_METADATA
selector: "#metadata-title"

Set tagsinput field from list input

 - step: SET
list:
- entry1
- entry2
- step: SET_METADATA
selector: "#tags"

See Also

General Resources: