A type of editor or tool that allows users to build or edit content in a form that closely resembles its appearance when displayed or printed. Useful for designing web pages, documents, or any content where layout and visual presentation matter.
How to Use
Implementation
In the Rayven Workflow Builder:
- Select Visualizations.
- Drag the HTML node to the canvas.
- Provide an input to the HTML node by connecting it to another node.
- Double click on the HTML node to open the configuration window.
Configuration
Section: General |
||
This section contains basic configuration elements required for any HTML implementation |
||
Field |
Requirement |
Comments |
Widget Name |
Mandatory |
Enter a name for this node. This provides a handle to which you and others can refer, so it should be simple but meaningful and explain the node’s purpose. |
Widget Subtitle |
Optional |
Additional text that can be used to explain the data presented by the node. This will appear directly under the Widget Name, in a smaller text size. |
Widget Header |
Mandatory |
Ability to hide or show the widget’s header. |
Device Name |
Mandatory |
Ability to hide or show the device’s name. |
Background Color |
Optional |
Ability to select desired colors as the monitor’s background color. |
Border |
Mandatory |
Ability to hide or show the border line of the HTML widget. |
Rich Text Area |
Mandatory |
Enter / Create a text which will be displayed on the HTML widget on the Rayven Dashboard. You can also display your workflow field by using “##FIELDNAME##” format in the Rich Text Area. |
Section: Text Area - View; Source Code |
||
This section contains on how users can use source code in the HTML node. |
||
Field |
Requirement |
Comments |
Text Area |
Mandatory |
The easiest way to create your visualization is simply to type and format text here. You can also insert tables and images. You should see how the visualization will appear, but you can also click view > preview to display the rendered html. |
Source Code |
Optional |
If you are proficient with html, you can create your visualization from html source, or you can edit the source created from the visualization that you created by direct entry in the text box. Note that you are limited to pure html. CSS, JavaScript, and so on, are not supported by this node. Code that is copied and pasted from an IDE might not be fully operant here. There are also some Rayven-specific syntax variants that you may find useful:
|
Section: Tooltip Info |
||
Field |
Requirement |
Comments |
Show Tooltip |
Optional |
When checked, it allows users to display their tooltip text on the widget. |
Tooltip Text |
Optional |
This section only exists when “Show Tooltip” is checked. Users are able to write any tooltip message they desire which will be displayed on the widget. |
Section: Group by Device Label |
||
Field |
Requirement |
Comments |
Device label name |
Mandatory |
There are no labels available in this box until you have saved at least one in the Device Labels section of the Workspace. Select a Label to use to filter devices. |
Grouped |
Mandatory |
Select a method for grouping the widget on the dashboard from the dropdown: No Grouping (widget per device): one widget will appear for each device Group by device label value (Widget per label value): One widget will appear for each value of a label. For example, if the Label is ‘Colour’ and there are the values ‘Green’ and ‘Gold’, then two widgets will be displayed, one with devices with Colour Label equal to “Green” and one with devices with Colour Label equal to “Gold” Group by device label name (One widget): Only one widget will be displayed and this will contain data from all devices. |
Step by Step Section
- You are able to use the HTML to display a text explaining your dashboard or the purpose of your widgets. You can also display your workflow field by using “##FIELDNAME##” on the HTML node.
- You are also able to insert media files, images, link, code sample and table by clicking on “Insert”.
- You can change the text format by clicking on “Format”. The text font and size can be changed accordingly. You can also use the quick tools bar to change the text format.