Skip to content
English
  • There are no suggestions because the search field is empty.

MAP Operation

How to use the MAP operation in formulas

Definition

Example

Syntax Guide

Formula in Use

 


Definition

The MAP operation applies an operation to a list of inputs. 

 


Example

MAP(SUM($$ITEM, 3), [1, 2, 3])

Result:
4,5,6

 


Syntax Guide

MAP(operation, list)

operation - the operation to perform. Use the '$$ITEM' placeholder to reference the element of the list you're working with

list - the list of elements to apply the operation to

 


Formula in Use

Apply bullet points in HTML format to multiselect attributes

CONCAT("<ul>",JOIN(MAP(CONCAT("<li>",$$ITEM,"</li>"), $ATT.PRODUCT_COLOR_MULTISELECT), ""),"</ul>")

MAP Operation


What's Next?