Skip to content

Add new view to corresponding screen.json

Step1 Create view.json

Example
{
  "name": "myexampleform",
  "title": "My Example Form",
  "template": "DashboardView",
  "url": "/screen/myexample/view/myexampleform",
  "widgets": [
    {
      "widgetName": "MyExampleForm",
      "position": 2,
      "gridWidth": 24
    }
  ],
  "rolesAllowed": [
    "CXBOX_USER"
  ]
}

Step2 Add new view to corresponding screen.json

Example
{
  "name": "myexample",
  "icon": "calendar",
  "order": 4001,
  "title": "Get Started example microservice",
  "navigation": {
    "type": "standard",
    "menu": [
      {
        "title": "Form",
        "child": [
          {
            "viewName": "myexampleform"
          }
        ]
      }
    ]
  }
}