Configure Dependency between Fields¶
A field in the panel can be displayed depending on a value in another field. If, for example, the printer does not have a folding unit, a Fold Type
field does not make sense.
For general information about how to customize the PLOSSYS 4 panel, refer to Customize the Panel
This is how you specify the dependency between fields:
-
Unless done, prepare customized panel configuration files
panel-<customer_name>.json
andsettings-<customer_name>.json
. For more information, refer to Customize the Panel. -
In both customized panel configuration files, specify the field and value on which the other field depends in the
visibleIf
element:Example -
Fold Type
option field is only displayed with ROWE printer{ ... "properties": { ... "PLS_FOLD_TYPE": { "type": "string", "default": "nonefold", "description": {"de": "Faltart", "en": "Fold Type"}, "widget": "select", "oneOf": [ { "enum": [ "nonefold" ], "description": {"de": "keine Faltung", "en": "No folding"} }, { "enum": [ "dina_heftrand" ], "description": {"de": "Heftrand", "en": "Binding margin"} }, { "enum": [ "dina_heftstr" ], "description": {"de": "Heftstreifen", "en": "Filing strip"} } ], "visibleIf": { "Printer": [ "ROWE" ] } ... } ... } ... }
Hint - any parameter
For the dependency, any parameter in SEAL Print Client can be used.
-
Restart the following services:
-
seal-operator-p4
-
seal-operator-server
-