Dashboard - default settings for all users

Hello Team,

I’m also looking to have within Nextcloud Settings the ability to set the default widgets my employees see when they login to Nextcloud.

I’ve been digging into Github and found the following post and thought I would share with the forum.

The OCC command can be used to set the default widgets for users:

How do I set their dashboards, i.e. set default dashboard for all users

occ user:setting myUser dashboard layout --delete` (to reset a user’s setting to system default)

occ user:setting myUser dashboard layout ‘welcome,spreed’` (to set an explicit user setting)

If you have direct DB access to issue an SQL query: DELETE FROM oc_preferences WHERE appid='dashboard' AND configkey='layout' (to reset all users’ custom configs)

I’m still preferring to have within my Settings the ability as an Admin to set the widgets I want users/groups to see when they login and view their Dashboard. But I’ll test out the occ commands on my test Nextcloud and see how it goes.

Cheers!

3 Likes