Skip to main content
Modules are not maintained
Most modules are no longer maintained and might not work in current versions of XGENIA. Use them at your own risk, and test them in your project before relying on them.

Custom HTML

This node allows you to add your own custom HTML markup to your visual tree. Common use cases include embeds or inline SVG's.

Custom HTML: Html

You can pass dynamic values to your markup by using template strings. {{ FillColor }} will create an input port named FillColor.

Custom HTML: Example

Security notice​

This node also allows you to add script tags to your app. For security reasons all script tags are deactivated, but if you need to run a script (required for some embeds) you can turn off that fail safe. Please note that passing user input to your template string variables can be a security risk for you and your users, leaving you vulnerable to XSS Attacks.

Inputs​

DataDescription
HTMLYour custom markup that will be rendered in the visual tree.
Run inline JavaScriptRunning scripts with user input can be dangerous. To provide an extra layer of security JavaScript in the custom HTML is prevented from running. Turn this on if your embed require scripts or if you are an advanced user with knowledge of XSS Attacks
Custom VariablesAny variable in a template string will become an input. Only one variable per template string allowed
Was this page helpful?