# Global time context not showing up in custom c8y-widgets-dashboard in new websdk versions

**URL:** <https://community.cumulocity.com/t/global-time-context-not-showing-up-in-custom-c8y-widgets-dashboard-in-new-websdk-versions/14111>\
**Category:** Forum\
**Tags:** Dashboard, widget, app-enablement, cockpit, cumulocity\
**Created:** [December 11, 2025, 7:57pm UTC](https://community.cumulocity.com/t/global-time-context-not-showing-up-in-custom-c8y-widgets-dashboard-in-new-websdk-versions/14111 "2025-12-11T19:57:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MDT\_DBurger](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@MDT\_DBurger](https://community.cumulocity.com/u/MDT_DBurger)\
**Post date:** [December 11, 2025, 7:57pm UTC](https://community.cumulocity.com/t/global-time-context-not-showing-up-in-custom-c8y-widgets-dashboard-in-new-websdk-versions/14111/1 "2025-12-11T19:57:41Z")

</div>

Hi guys,

In our older cockpit-versions (e.g. 1021.22.99), when creating (programming) a custom cockpit dashboard using c8y-widgets-dashboard the global time context selection in the dashboard top navigation shows up while putting a widget with the time selctor properties to it.

Widget:

```auto
{
      "componentId": "Data points table",
      "classes": {
          "data-points-table": true,
          "card-dashboard": true,
          "panel-title-regular": true,
          "card": true
      },
      "_x": 0,
      "_y": 0,
      "id": "06522756-0189-46ef-a606-9079b691e984",
      "title": "Data points table",
      "_width": 8,
      "config": {
          "refreshOption": "live",
          "datapoints": [
              {
                  "fragment": "AIn",
                  "unit": "",
                  "color": "#324123",
                  "series": "Cp_CgIncl",
                  "lineType": "line",
                  "__active": true,
                  "__template": null,
                  "label": "AIn → Cp_CgIncl",
                  "renderType": "min",
                  "yAxisType": null,
                  "__target": {
                      "name": "Test-Device",
                      "id": "52199198112"
                  }
              }
          ],
          "displaySettings": {
              "globalAutoRefreshContext": true,
              "globalTimeContext": true,
              "globalAggregationContext": true,
              "globalRealtimeContext": false
          },
          "dateTimeContext": {
              "dateTo": "2025-12-11T19:02:59.000Z",
              "interval": "hours",
              "dateFrom": "2025-12-11T18:02:59.000Z"
          },
          "decimalPlaces": 2,
          "refreshInterval": 30000,
          "isAutoRefreshEnabled": true,
          "aggregation": null,
          "displayMode": "dashboard"
      },
      "_height": 4
    }

```

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/9/5/9548c5f36a8bfa2a42c8722b868e9f62235bc752.png)

Now, using the current new websdk version 1023.9.0, the global time context selection in dashboard top navigation does not show up anymore …

Is there kind of a new logic behind that or am I missing a new Import or properties in my widgets? Does anybody know what changed here?

HTML-code of my dashboard:

```auto
<c8y-widgets-dashboard

        [context]="context"

        [widgets]="displayWidgets"

        [settings]="{

            isLoading: false,

            isDisabled: false,

            canDelete: false,

            translateWidgetTitle: false,

            allowFullscreen: false,

            onEditDashboard: true,

            title: false,

            canCopy: false

        }">
    </c8y-widgets-dashboard>

```

The variable **displayWidgets** is set dynamically in my component.ts (see json above). The json is copied from a test-dashboard (current version) where everythink works fine.

Widget shows up, but no dashboard time selector 😑

Thanks in advance

---

<div class="post-metadata">

**Author:** ![Dawid\_Janusz](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/dawid_janusz/32/29918_2.png) [@Dawid\_Janusz](https://community.cumulocity.com/u/Dawid_Janusz)\
**Post date:** [December 12, 2025, 2:02pm UTC](https://community.cumulocity.com/t/global-time-context-not-showing-up-in-custom-c8y-widgets-dashboard-in-new-websdk-versions/14111/2 "2025-12-12T14:02:45Z")

</div>

Hi,

In the new Web SDK version 1023.0.0, we have introduced a new version of the global time context, which is a breaking change and requires some changes to the widget view and widget configuration. An in-depth guide (user guide and an example in the tutorial application) is on the way, as we had to make some last-minute changes.

To implement the new global time context in a custom widget, please check the attached PDF with the quick guide.

[Global Time Context v2 - Quick Integration Guide.pdf](https://community.cumulocity.com/uploads/short-url/b2aGDYkejJvnJzd6jg0zhEdulbG.pdf) (143.1 KB)

If you have any questions, feel free to reach out.

Best regards,  
Dawid

---

<div class="post-metadata">

**Author:** ![MDT\_DBurger](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@MDT\_DBurger](https://community.cumulocity.com/u/MDT_DBurger)\
**Post date:** [December 12, 2025, 2:19pm UTC](https://community.cumulocity.com/t/global-time-context-not-showing-up-in-custom-c8y-widgets-dashboard-in-new-websdk-versions/14111/3 "2025-12-12T14:19:04Z")

</div>

Thank you! I’ll have a look at it.
