Skip to content

Template HTML

Overview

Build HTML using a HTML template - for HTML content, where you need to prevent XSS attacks through automatic escaping of user-generated content.

Returns
Text

Parameters

ParameterParameterValid BlocksRequired
Set a Dynamic Name Show the Dynamic Name slot in the tree so that it can be set statically or dynamically Boolean Block Group No
Dynamic Name The dynamic name of this item Text Block Group No
Attributes Metadata values for this block. Used in XML and multipart/form-data. Text Block Group No
Template to use The HTML template to use. Substitute values into the template using the dot notation, e.g. 'open curly brace' 'open curly brace' .keyname 'close curly brace' 'close curly brace' Text Block Group No
Data The values to substitute. Must be a Data Structure or valid JSON. Key names must be referenced in the template using the dot notation, e.g. 'open curly brace' 'open curly brace' .keyname 'close curly brace' 'close curly brace' Marshalled Data Block Group No