Dynamic Model
Last updated
Last updated
A Dynamic Model gets built from the data source, instantly at the click of a button. The structure of the model is taken from the categories assigned to the visual and each level adds up one over the other.
After importing the data using the steps explained in the section, choose Dynamic Model and click Create.
Dynamic model gets built instantly as shown below.
This type of model is termed dynamic as ValQ automatically updates your model whenever the categories are added, removed, or re-arranged. Since Dynamic models are flexible in nature they can be immensely useful for scaling your model.
The nodes on a dynamic model, referred to as dynamic nodes, are locked/disabled by default except for the root node. Ideally, you can not configure, move, or remove them.
A Dynamic model can be edited while keeping its dynamic nature in the following ways.
New nodes can be added to the root node in two ways.
1.1. Add nodes using Template
1.2. Add nodes using the 'Add New Node' option
Find below the image of a dynamic model with a template added using Add New Node-> Add Node using Template.
The below image shows a dynamic model with a new node added through Add New Node-> Text.
You can edit the dynamic model using templates by way of replacing the existing nodes or just inserting the template nodes within the model. Let us see both the ways below.
Click on Templates->Apply Template->Replace Nodes with Template to replace dynamic nodes with templates.
The below image shows a dynamic model where some nodes are replaced by template nodes as highlighted below.
Click on Templates->Apply Template->Insert New Nodes with Template to insert nodes within the dynamic model.
In the following example, the template ‘Pastries’ is added to the dynamic model at each Region level.
Note:
You can also click on the below icons to replace the nodes or insert them with template nodes.
In this case, the model ceases to be dynamic when you convert it to an editable one. Following are the steps to convert:
In the Model Tab menu bar, choose Convert Dynamic to Editable.
Click Yes to confirm.
The model is now converted, enabling us to edit, configure, and customize the nodes as required.
It is recommended that the model be converted only when required and as the last option.
Note:
The template structure within the model remains unalterable. To edit the template, you can use the Templates menu.
Refer to for more help on assigning fields to the visual.
In a dynamic model, new nodes can be added to the root node using templates. Refer to to read more about it.
New child nodes can also be added to the root node using the other options available in the Add New Node menu. Check out the steps to learn how to add new nodes to the model.
Replacing the existing dynamic node structure with template nodes is one of the ways to edit a dynamic model, without converting it. The template nodes are introduced in relation to the existing nodes while still keeping the entire model dynamic and locked for node-level edits. To learn about replacing dynamic nodes using templates, refer to
Inserting template nodes at multiple levels within a dynamic model is another way to edit it. In this method, the existing dynamic nodes are not replaced but new nodes are inserted by way of templates wherever required. Refer to to know more.
You can use the option to convert an editable model back to a dynamic model.
To learn how to configure the nodes, you can refer to the section.