Loops for fusion field

To retrieve a set of information, in a form or in a column of a table containing several information, it may be necessary to use loops.

The structure of the loops is as follows:

  • foreach ($element in $extractUtils.extractList ($name_of_table, 'name_of_column'))
  • the action to be performed for example to display the content of the 'name' field of element: $extractUtils.extract ($element, 'name')
  • #end to close the foreach loop

Example:

For each s element of the form table of the sections column, display the name field of the s element.

Refer to this document for more on how to create a merge field loop.

Still need help? Contact Us Contact Us