Add a Text Field¶
Text fields can be freely filled in by the user and are used, for example, for passing the header parameters for stamps or entries on the cover sheet.
For general information about how to customize the PLOSSYS 4 panel, refer to Customize the Panel
This is how you add a text field to the panel:
-
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, add the text field into the
properties
list and specify the attributes of the text field, for example, the language-dependent label of the text field:Example - text field for specifying the receiver
{ ... "properties": { ... "PLS_STAMP_1": { "type": "string", "description": { "de": "Empfänger", "en": "Receiver" }, "default": "Joe" }, ... } ... }
-
In both customized panel configuration files, add the text field to the
fieldsets
at the place where you want to have it in the panel:Example
{ ... "fieldsets": { ... "fields": { ... "PLS_STAMP_1", ... }, ... } ... }
-
Restart the following services:
-
seal-operator-p4
-
seal-operator-server
-