Course Content

Expand All

Form Template Theory

All Deepser entities have a template form by default.
In particular, this Form Template is the one that is applied if there are no other templates for that entity in the system.

The moment a record is saved to the system with a certain Form Template, it is storicized in the DataBase and is no longer automatically modified by the system. At this point you can only change the Form Template manually.
This behavior, which is the basis of Deepser, is used to provide certainty about the Form Template used and establishes that once you have collected a set of information and saved it in the database, it will be displayed in the same layout as the one used to create the record. Obviously, as we said, there is always the flexibility to modify the layout manually.

The Form Template, instead, varies dynamically when the record is not yet saved in the DataBase.
This behavior allows you to adapt the form fields (and the layout of the record entry screen) according to the characteristics of the data you are entering into the system.
As said before, if you need certain information for a category or for a type of Service Operations, you can configure as many Form Templates as there are layouts that you want to set.
The dynamic modification of the Form is made possible thanks to a set of rules (Form Template Rules) that are inserted during the configuration phase of the Template.
The Form Template Rules in fact play a fundamental role in the configuration of the dynamic change of the templates and must be implemented with great care to create a flexible and powerful system of dynamic forms that adapt themselves according to the data we are inserting in the system.