Skip to main content
Question

Is it possible to filter the Activity Overview Widget?

  • May 2, 2025
  • 1 reply
  • 30 views

Forum|alt.badge.img+1

Has anybody found a way to filter this widget (Activity Overview)?

What I’m being asked to show is this chart but with only our mandatory/compliance courses. Our employees want a quick simple view of what they have to complete instead of a broad overview of everything they have ever interacted with. Can it be filtered to only show progress in courses via a Learning Plan, Channel, or Catalog?

 

1 reply

elamast
Hero I
Forum|alt.badge.img+7
  • Hero I
  • May 5, 2025

My gut feeling is that there’s not a reliable way to alter the widget since you’d have to be able to intercept the call and modify it’s parameters.

Even if you could intercept the call, I’m not sure there are any useful parameters for the use case you described.

 

 

Here’s a little breakdown in what I discovered so far about how the widget operates:

The data for the donut chart is coming from an authenticated request to this location:

https://www.avotrainingu.com/loki/widget/v1/activity_overview/USERID

The response looks like this:

{
    "data": {
        "sessions": [
            {
                "month": "2024-05",
                "count": "1"
            },
            {
                "month": "2024-06",
                "count": "2"
            },
            {
                "month": "2024-07",
                "count": "5"
            },
            {
                "month": "2024-08",
                "count": "17"
            },
            {
                "month": "2024-09",
                "count": "1"
            },
            {
                "month": "2024-10",
                "count": "28"
            },
            {
                "month": "2024-11",
                "count": "57"
            },
            {
                "month": "2024-12",
                "count": "313"
            },
            {
                "month": "2025-01",
                "count": 0
            },
            {
                "month": "2025-02",
                "count": 0
            },
            {
                "month": "2025-03",
                "count": "140"
            },
            {
                "month": "2025-04",
                "count": "39"
            },
            {
                "month": "2025-05",
                "count": 0
            }
        ],
        "enrollments": [
            {
                "month": "2024-05",
                "count": 0
            },
            {
                "month": "2024-06",
                "count": "1"
            },
            {
                "month": "2024-07",
                "count": "2"
            },
            {
                "month": "2024-08",
                "count": "3"
            },
            {
                "month": "2024-09",
                "count": "1"
            },
            {
                "month": "2024-10",
                "count": "3"
            },
            {
                "month": "2024-11",
                "count": "1"
            },
            {
                "month": "2024-12",
                "count": "10"
            },
            {
                "month": "2025-01",
                "count": "3"
            },
            {
                "month": "2025-02",
                "count": 0
            },
            {
                "month": "2025-03",
                "count": "2"
            },
            {
                "month": "2025-04",
                "count": 0
            },
            {
                "month": "2025-05",
                "count": 0
            }
        ],
        "course_enrollments": {
            "not_started": "6",
            "in_progress": "24",
            "completed": "13"
        }
    }
}

 

Using that output as an example, it seems pretty similar to the output of this documented API call:


“Get user activities information like number of visited session per month, enrollments per month”

GET https://www.avotrainingu.com/manage/v1/user/activities?id_user=USERID

...which has very few parameters documented to be available.
 

I think you’ll need to do something external to Docebo by using an API call to grab the data you want (potentially from a report) and then use your own analytics software to make a graph of it to display in an iframe.  However, someone else here may be a data expert who can help further.