JavaScript Examples - Arrays
Snippets for working with arrays, which is how a multi-valued Field holds its values. The array snippets are expressions for a Calculated Field Flow Step. The two multi-valued walkthroughs use a Power Script Flow Step instead, because they add several new columns to each record.
In this section
| Article | In one line |
|---|---|
| How to manipulate an array | Append, remove, and sort elements, or join them into a string. |
| How to pivot two associated multi-valued fields | Turn one multi-valued Field's values into column headers and fill them from a second. |
| How to split a multi-valued field into separate columns | Spread a multi-valued Field across numbered columns instead of rows. |