cancel
Showing results for 
Search instead for 
Did you mean: 

Changing site dashboard without GUI?

haffi67
Champ in-the-making
Champ in-the-making
Hi,

I have a problem with changing the site dashboard on my Share install. It is a known bug when people have upgraded to 4.0d from 4.0b or 4.0c that when you try to customize the dashboard for the site, no dashlets appear in the menus (they are always empty). This means that it's possible to add dashlets but you can never remove them. My question is this: Is it possible to customize the dashboard on the database level? If so, could anyone point me to the right table to do that?

Thanks in advance.
2 REPLIES 2

ddraper
World-Class Innovator
World-Class Innovator
This isn't directly answering your question, but I have hunch that you can directly fix the problem quite simply…

If you edit the file "webapps\share\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\dashboard\customise-dashlets.get.js" and look for the line:

if (regionId.match("^component-\\d+-\\d+$"))

and make the double slashes, single slashes, e.g.

if (regionId.match("^component-\d+-\d+$"))

Then you *may* find that the customise page is fixed,

Regards,
Dave

haffi67
Champ in-the-making
Champ in-the-making
Thanks for your answer, ddraper. I tried your solution but unfortunately it didn't work for me. If anyone know where the configuration is stored any help would be greatly appreciated.