select custom fields from

This block is part of the object group and was last modified in core v12.0.3.

select custom fields from v12.0.3

Returns an object with the given fields only

In pins 2
  • Fields required
    array
  • Object required
    object
Out pins 1
  • Object
    object

Builds a NEW object containing only the dot paths listed in fields, preserving nesting. Example: fields ["a.b"] on {a:{b:1,c:2}} -> {a:{b:1}}. Missing paths are omitted (no nulls). Empty fields list or non-object input yields {}. Values are copied by REFERENCE; the input is not modified.

grab fields
grab custom fields

A typical wiring for select custom fields from: with values feeds the fields pin; the object out pin feeds custom field.

Studio canvas example for the select custom fields from block: typical wiring for select custom fields from.

Version history

Introduced in v12.0.3.


Back to object Return to the main group to view all sub-groups Back to object Return to the group to view all blocks within this group