Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 10

...

Extra fields are controlled using the Form Schema feature. Create a new schema file: /usr/local/opmojo/conf/form_schemasschema/admin_nodes.json  (adjust path to suit your installation location).

...

Code Block
{
    "label": "Custom node fields",
    "description": "Edit in conf/form_schemasschema/admin_nodes.json",
    "component": ["node_admin"],
    "tags": ["node"],
    "schema": {
        "configuration.customerId": {
                "title": "Customer ID",
                "type": "Text"
        },
        "configuration.contact": {
                "title": "Contact Person",
                "type": "Text"
        }
    }
}

...