04-26-2017 06:15 AM
Hi,
I'd like to modify user-dashboard logic as following :
Version of Alfresco: 4.2.c
Thanks.
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...
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.
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.
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.
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?
Explore our Alfresco products with the links below. Use labels to filter content by product module.