Skip to content

Create and add new widget to corresponding view.json

see more about widget

Step1 Create widget.json

 {
  "name": "MyExample4001Form",
  "title": "Form title",
  "type": "Form",
  "bc": "myExampleBc4001",
  "fields": [
  ]
}

Step2 Add widget to corresponding view.json

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