cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to create a default Dashboard customization?

gronfelt
Champ in-the-making
Champ in-the-making
I would like the Share Dashboard to look the same for all new users, could this be achieved? For instance I don't want the users to see Alfrescos RSS feed, but rather my own and I don't want the Alfresco Network dashlet to be shown by default.

I suppose that the default dashboard (with My Calendar, Alfresco Network and so on) is defined somewhere, but where?
19 REPLIES 19

mikeh
Star Contributor
Star Contributor
Take a look at presets.xml, under the node <preset id="user-dashboard">

Thanks,
Mike

toml
Champ in-the-making
Champ in-the-making
Hi Mike,

This works when modifying the existing presets.xml. Yet, when we put a modified presets.xml in /WEB-INF/classes/alfresco/web-extension/site-data/presets (specified as custom store in presets searchpath), it does not override the existing presets.xml. The original presets.xml is still applied.
So this seems to work differently, compared to components etc.Is this a known issue?

NOTE: we are sure the presets.xml is correct as overriding the existing presets-file with it does work.

cheers,
tom

smain46
Champ in-the-making
Champ in-the-making
UP

And, i would like to know also if this : http://wiki.alfresco.com/wiki/User_Configurable_Dashboards is out of date with the last version of alfresco.

Thanks

mikeh
Star Contributor
Star Contributor
So this seems to work differently, compared to components etc.Is this a known issue?
Not that I know of - please raise a bug in JIRA.

And, i would like to know also if this : http://wiki.alfresco.com/wiki/User_Configurable_Dashboards is out of date with the last version of alfresco.
The wiki article relates to the Explorer (JSF) client, not Share.

Thanks,
Mike

smain46
Champ in-the-making
Champ in-the-making
Thanks a lot.

I just tried to customize the file presets.xml (i want that  by default the alfresco-network dashlet does not appear) , I re-starded the tomcat server and create a new user but it doesn't work…i don't know what I have wrong….



<preset id="user-dashboard">
      <components>
         <!– title –>
         <component>
            <scope>page</scope>
            <region-id>title</region-id>
            <source-id>user/${userid}/dashboard</source-id>
            <url>/components/title/user-dashboard-title</url>
         </component>
         <!– dashboard components –>
         <component>
            <scope>page</scope>
            <region-id>component-1-1</region-id>
            <source-id>user/${userid}/dashboard</source-id>
            <url>/components/dashlets/user-calendar</url>
         </component>
       <!–   <component>
            <scope>page</scope>
            <region-id>component-1-2</region-id>
            <source-id>user/${userid}/dashboard</source-id>
            <url>/components/dashlets/alfresco-network</url>
         </component>
       –>
         <component>
            <scope>page</scope>
            <region-id>component-2-1</region-id>
            <source-id>user/${userid}/dashboard</source-id>
            <url>/components/dashlets/user-welcome</url>
         </component>

smain46
Champ in-the-making
Champ in-the-making
It's working now, i don't really know why but it's working Smiley Happy

jeffreyvddb
Champ in-the-making
Champ in-the-making
Hi,

I'm trying to achieve the same, as the person who posted this thread. I created a presets.xml in shared-folder "/opt/tomcat5.5/shared/classes/alfresco/web-extension/site-data/presets". When I create a new user and then login with this account, the settings from the presets.xml aren't processed. It seems that Share isn't doing anything with this file. Can someone tell me if it's folder that isn't correct, or that this is a known issue?

Regards,
Jeffrey

rsulliv1
Champ in-the-making
Champ in-the-making
jeffreyvddb, note that toml said the following:

Yet, when we put a modified presets.xml in /WEB-INF/classes/alfresco/web-extension/site-data/presets (specified as custom store in presets searchpath), it does not override the existing presets.xml. The original presets.xml is still applied.
So this seems to work differently, compared to components etc.Is this a known issue?

he didn't put the file in the shared classpath & he was not successful.

Then Mike said:

Not that I know of - please raise a bug in JIRA.

So, it appears that toml was on the correct customization path & it is not working correctly (as of 27 May 2009).

Did you attempt to follow the lead of toml to see if perhaps the issue has been resolved? Or, on the other hand, have you searched the JIRA tickets to see if there is an outstanding issue logged?

muthukimoses
Champ in-the-making
Champ in-the-making
when i commented out the alfresco network in presets.xml
<!–<component>
            <scope>page</scope>
            <region-id>component-1-2</region-id>
            <source-id>user/${userid}/dashboard</source-id>
            <url>/components/dashlets/alfresco-network</url>
         </component>–>

it still brings the dashlet. should that not work?