Apply admin user-dashboard config on all users

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-26-2017 06:15 AM
Hi,
I'd like to modify user-dashboard logic as following :
- Allow the admin to apply user-dashboard configuration to all users created: I thought about modifying webscript controller "customise-dashboard.post.json.js" in order to apply the configuration on all users on the system. But i'm not sure it's the best way to do it.
- Allow the admin to apply default user-dashboard configuration, for users that never logged in to the system:I know that the default configuration is controlled by "presets.xml", but i don't find a way to do it dynamically, modify default configuration after each customization done by the admin.
- Every user could modify again his dashboard but based on admin configuration: get only the dashlets added by the admin configuration.
Version of Alfresco: 4.2.c
Thanks.
- Labels:
-
Alfresco Content Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2017 10:41 AM
There are some tutorials available on the topic, but with a slightly different approach, which is to set a default dashboard by customizing the preset.xml and then reset all the dashboards.
These are the links:
ITD Systems company blog — Dropping Alfresco user dashboard configuration
If you were using a newer alfresco version, like 5.0, you could use this addon GitHub - OrderOfTheBee/ootbee-support-tools: OOTBee Support Tools addon to extend set of administrat...

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2017 11:16 AM
Thanks for the reply.
The problem is that i want to edit default configuration dynamically after each admin customization of dashboard.
It's not a good idea to update "presets.xml" beacause we need to restart the server everytime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-04-2017 04:17 AM
As one of the developers for OOTBee Support Tools I can say that we are planning to extend the current functionality to make it possible to apply batch updates / changes to dashboards. This could include making those changes based on a "reference" dashboard, e.g. use admin dashboard as a template.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-04-2017 06:55 AM
That will be great! that's exactly what i needed.
Actually i tried to resolve my problem as follows :
1- I implemented a webscript that creates the components of the dashboard of a user following the template of the admin dashboard configuration. (components are represented by xml files under this node /app:company_home/st:sites/cm:surf-config/cm:components).
it gets the userName as param.
2- I call this webscript when the user log in to the system for the first time.
So the user gets dynamically the last configuration done by the admin, and he could modify again his dashboard based on this config.
It works fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-13-2017 04:38 AM
Hi sorry to bother you Abrar , i'm encounter the same issue can i ask you to share the webscript you use for solve this issue?
