The HTML Dynamic component lets us embed custom HTML into a Pyplan interface and connect HTML elements to application actions without writing glue code. We can paste or write HTML (including CSS styles and basic behavior) and then, through a configuration panel, link specific HTML elements to actions such as opening interfaces, navigating, or running nodes.
Using this component, we can build highly customized panels (cards, buttons, notifications, banners, etc.) while still keeping all logic connected to the Pyplan model.

When we add an HTML Dynamic component to an interface and open its configuration, we see three main areas:
Code
HTML preview
Actions
id="execute-app") with an action type and a corresponding value (such as a node Id or interface name).Each row in the Actions table describes how a particular HTML element should behave. For each row we configure:
Attribute
The HTML attribute used to identify the element.
Example: id.
Attribute value
The value of that attribute in the HTML.
Example: execute-app, notification-block.
Action type
The behavior that will be triggered when the element is interacted with (typically on click).
The available action types are:
Open interface
Opens a specific Pyplan interface.
We enter the identifier or name of the target interface in the Type action value field.
Navigate
Navigates to a specific section of the application, such as:
Run app node
Executes an application node.
We specify the node Id in Type action value.
Example: button with id="execute-app" and action type Run app node with value fin_run_node.
Attributes from node
Sets one or more HTML attributes based on the result of a node.
A typical use case is to dynamically apply styles or classes.
Example:
idnotification-block"background-color: blue; color: white";style attribute of the div with id notification-block.Children from node
Replaces the inner content (children) of an HTML element with the result of a node.
Example:
idtasks-counter"You have 2 pending tasks".<p id="tasks-counter"> element.Open assistant (if available in your installation)
Opens a contextual assistant or help panel linked to the HTML element.
We can add as many rows as needed using the “+” button in the Actions section. Each row can have its own Attribute, Attribute value, and Action type, allowing multiple interactive elements within the same HTML block.