MAP Operation

How to use the MAP operation for Computed Attributes

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.Multiselect), ""),"</ul>")



MAP-operation-plytix


What's Next?

 

If you have any questions just click on the chat box in the bottom-right corner and we'll be happy to answer them...

 

and please let us know 👇