Skip to content

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

Text field in panel


This is how you add a text field to the panel:

  1. Unless done, prepare customized panel configuration files panel-<customer_name>.json and settings-<customer_name>.json. For more information, refer to Customize the Panel.

  2. 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"
          },
          ...
        }
        ...
    }
    
  3. 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",
            ...
          },
          ...
        }
        ...
    }
    
  4. Restart the following services:

    • seal-operator-p4

    • seal-operator-server


Back to top