Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
Variable arrays (e.g., «products[0].name» or «foreach item in cart») enable dynamic handling of repeated data structures in templates. They solve limitations of flat/nested objects when dealing with lists, tables, or collections.
The following example code shows how to use variable arrays in Smart Markers. We place a variable‑array marker into cell A1 of the first worksheet of the workbook dynamically, which contains a string of values that we set for the marker, process the markers to fill data into the cells corresponding to the marker, and finally save the Excel file.
The following sample code demonstrates the use of the HTML property of Smart Markers. When processed, it will display “World” in “Hello World” as bold because of the HTML <b> tag.
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.