add suffix to values
This block is part of the array group and was last modified in core v14.0.4.
add suffix to values v14.0.4 Appends a suffix to each value in the array.
In pins 2
- array required
array - suffix required
valueThe value to append to each item
Out pins 1
- array
array
Returns a new array where each element is the element coerced to text with JS String() rules (null becomes "null", objects become "[object Object]", arrays comma-join) followed by the suffix string. Every output element is a string. A missing or non-array input yields an empty array.
append |
A typical wiring for add suffix to values: concatenate values feeds the suffix pin; get meta guids feeds the array pin; the array out pin feeds map values to guid seeds.

Commonly used with
In production blueprints, this block is most often wired together with:
- concatenate values: feeds into this block.
- get meta guids: feeds into this block. Returns an array of values with _meta.guid's of each object in the given array.
- map values to guid seeds: this block feeds into it. Maps each value in the array through the deterministic GUID seed hash. Produces an array of GUIDs where each GUID is derived from the corresponding value. Much faster than using array map with a custom function.
- search: feeds into this block. searches in the given storage based on a query.
- storage left join exists: this block feeds into it. Left joins a boolean field into the given array based on whether a document exists in the storage for each corresponding GUID. Sets the field to true when found, false when not.
Version history
Introduced in v14.0.4.
Back to
array Return to the main group to view all sub-groups Back to array Return to the group to view all blocks within this group
