Skip to content

Configure a Field as Mandatory


With every data type of a field, you can specify that the parameter has to have a value, either specified as default or entered by the user.

For general information about how to customize the PLOSSYS 4 panel, refer to Customize the Panel


This is how you configure that a field is mandatory:

  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 panel-<customer_name>.json, add the required field to the required list:

    Example - PLS_STAMP_0 is required

    {
        ...
        "json_schema": {
          ...
          "required": ["Printer", "Copies", "PLS_STAMP_0"],
          "properties": {
            ...
            }
          ...
          },
        ...
    }
    
  3. Restart the following services:

    • seal-operator-p4

    • seal-operator-server


Back to top