Skip to content

Add new widget to corresponding view.json

Step1 Create widget.json

Example

Step2 Add widget to corresponding 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"
      ]
    }