Skip to main 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
Use Dynamic NameShow the Dynamic Name slot in the tree so that it can be set dynamicallyBoolean Block GroupNo
Dynamic NameThe dynamic name of this itemText Block GroupNo
AttributesMetadata values for this block. Used in XML and multipart/form-data.Text Block GroupNo
Template to useThe 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 GroupNo
DataThe 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 GroupNo