Resetting a users dashboard in Alfresco Share

It may happen, in some peculiar circumstances, that a users dashboard becomes corrupted. The signs for when this happens is that the users dashboard can’t load or that there’s an error when the user tries to customize the user  dashboard. One way of handling this is to delete all information about the dashboard, that is delete the chosen page layout and dashlets and reset the dashboard to the default state it has when a new user is created. Following is a small script that can be executed from the Javascript Console (

var userid = 'this_is_a_user_id';

// get the spring web application context
var ctx =;

// get hold of the Spring bean surfConfigCleaner from the remote-api-context.xml file
var surfConfigCleaner = ctx.getBean('surfConfigCleaner');

// find the person instance for the particular user id
var person = people.getPerson(userid);

// execute the behaviour method which does the cleaning

Using the Javascript Console in this manner (getting hold of Spring Beans) is, as the creator of it says, pretty powerful. Quoting Florian Maul (fme AG), “With great power comes great responsibility!”.

This entry was posted in Alfresco, Javascript. Bookmark the permalink.

101 Responses to Resetting a users dashboard in Alfresco Share

  1. Nice way of using spring beans in javascript. I can imagine several ad hoc tasks where this could come in handy.

    • Helene says:

      Artémise. Exact. Je pensais à Max un Moritz, figures humoristiques dessinées (mon beau-frère allemand s’appelle Götz, lapsus révélateur ?). Mais Götz und Moritz existent aussi;j e crois mais n’en suis pas sûr que ce sont des husesimtor-chansonniers à la télé. A vérifier.

    • Packed full of proven tips to overcome shyness, this concise book is a real boon with be valuable to many people. The author started from a position of acute social but now is extremely relaxed around people. In a very clear step-by-step fashion, she tells the reader what method she used to get there.I’ve followed spme of the techniques and they have already proven beneficial to me.

    • Parmi les villes les moins endettées, on trouve Strasbourg (PS), avec une dette de seulement 545 euros par habitant, et Toulouse (PS), avec une dette de 142 euros par habitant.ceci dit, il faudrait regarder la structure de la dette et les capacités de remboursement. En clair, les 728 millions d’euros financent-ils de l’investissement (infrastructures, …) ou du fonctionnement (budget en déficit)

    • Really trustworthy blog. Please keep updating with great posts like this one. I have booked marked your site and am about to email it to a few friends of mine that I know would enjoy reading..

    • “determination for what? let’s start with thisLarry expresses respect for determinationwhat do you mean in this context?”Larry expresses respect, appreciation, for Palestinian activists that heroically risk their safety and comfort, to make a statement of personal dignity, and to seek change in their objective conditions.And, he expresses particular respect for those committed to non-violent methods and ideology, “kind determination”.No?

    • My wife or husband and my partner and i? michael unclear exactly why however this amazing site will be filling amazingly sluggish individually. Will be anybody else having this particular concern or possibly is this a worry by myself conclusion? I? ll revisit afterwards if ever the difficulty nonetheless is out there.

    • http://www./ says:

      Priya, i had tried this recipe last evening and kept munching the ladoos till late in the night… it was totally yummy and i wanted to thank you for the delicious recipe with healthy components… :-) hats off to you dear

    • http://www./ says:

      Claudio: Estuve intruseando en tu blog y la verdad de las cosas es que está excelente. Muy informativo e innovador. Soy comunicador y me interesa de sobremanera este fenómeno. Felicitaciones

    • http://www./ says:

      I only want to express I am just a starter to writing a blog and site-building and of course I much like this site. Certainly I am planning to bookmark your web page . You actually should have include impressive web content and reviews. Appreciate it for posting your blog.

    • http://www./ says:

      Milja Hahto on oikeassa pH:n suhteen. Ihon tulee olla lievästi hapan, muuten ei tunnu hyvältä. Ja tosiaan tuo omenaviinietikka ajaa saman asian, itse en tosin aina jaksa tehdä kasvoja varten tuota etikkavettä (käsiä varten kyllä, koska se vaan tuntuu niiiin hyvältä…) Eri ekologista ruusuvesi ei toki ole; mun pullo lienee Intiasta. On kuitenkin sen verran riittoisaa, että kuukausikaupalla se on kestänyt vaikka nykyään miehenikin käyttää sitä partavetenä. Mutta ilmankin siis pärjää. Sisältäpäin rasvaaminen toimii myös!

    • Que eu saiba a questão dos orçamentos e respectivos falhanços não é da conta desse senhor. E como árbitro, não deve tocar nesse assunto. Depois, pode dizer que convive muito bem com as críticas, mas gostaria que ele próprio admitisse os erros graves que comete! Como ser humano, claro!

    • This ensemble looks fantastic on the model, but Emma can’t pull it off. It looks like a minidress worn with pants on her. Besides, the pants are too long.I hope we will see this look on someone who can pull it off, someone taller.

    • En fait je pense que j’ai plus dattente quand je machete une loterie ou quand je vais au casino 1 fois par année. Dans le sens que j’ai plus souvent gagné au jeux quand amour malheureusement. Il faut croire que même la loterie n’est pas une bonne comparaison avec l’amour. Après 10 dates en 10 mois je me suis jamais senti autant malchanceux. Pourtant le maximum que j’ai été sa été 2 dates dans la meme période jamais daté les 10 en meme temps.

    • that she looks great and gives her fans what they want, but then having said that it is shit. Oh I don’t know. Let’s talk about how shit danni is…VA:F [1.9.22_1171]

    • comentou em 13 de janeiro de 2010 às 18:13. Acredita que cortei uma parte do vídeo que fala deles? Eles são muito bons para esfumar a maquiagem. Mas não recomendo comprá-los avulsos porque duram muito pouco.Bjsss!!!!

    • Njaee… jag föredrar biosalongen. Visst känner jag igen vissa av dessa störningsmoment, men inte alls i den grad du verkat rÃ¥ka ut för dem.Jag gÃ¥r oftast pÃ¥ ”Folkets Bio” eller pÃ¥ Fokus här i Jönköping. AlltsÃ¥ biografer som inte siktar pÃ¥ nyproduktionen utan mer pÃ¥ kvalitet och litet udda filmer. Jag tycker att det är en helt annan känsla i biosalongen än i TV-soffan!Kan det bero pÃ¥ att jag tillhör generationen 50-talister, mÃ¥ntro!!??Mia

    • My favorite fiber to knit and crochet with is alpaca . . . but my favorite fiber to spin with is silk! (You might want to try spinning silk hankies, Annie — they’re stickier than other fibers, so there’s far less flying fiber. I spin mine on a drop spindle.)

    • Le problème de l’attaque ad hominem c’est que ça laisse accroire qu’il suffirait de virer la marionnette pour rénover le théâtre. S’il est vrai que celui-là est bien à la sauce italienne, il y en a un qui se prépare à la sauce chilienne et les nôtres sont gratinés aussi. Mais c’est la pièce entière qui est nulle et ce n’est pas avec des Duomo ou des tours Eiffel en plomb qu’on abattra les vrais auteurs du scénario. Tout au plus le guignol du jour est-il momentanément transmué en Saint Sébastien.

  2. Fannie says:

    isn’t putting a dollar in the donations box the next time he goes to a museumDO YOU HEAR THAT MUSEUMS OF INDIANAPOLIS? YOU WILL HAVE TO SURVIVE WITHOUT UNCLE MOG1NBAYS&#82E7; DOLLAR!!!

  3. tejal says:

    Thank you for sharing the article…Keep posting on it.If any looking for RPA Training…chk it here.

  4. Meera kumar says:

    I think things like this are really interesting. I absolutely love to find unique places like this. It really looks super creepy though!!

  5. YolloSab says:

    Express "who you are" quickly. Just what is an elevator pitch, anyway? An online search reveals, "a succinct and persuasive sales pitch" derived from
    essay intimate
    2019 Volvo xc60 redesign, release date, hybrid options – 2018 car review electricity wikipedia in hindi

  6. Asheed says:

    Thanks for your efforts in sharing this post with us. This was really awesome. kindly keep continuing the great work.

  7. kumarshalini says:

    This content is very much informative and very useful.keep posting. i am really impressed with this blog.

  8. Merely wanna say that this is extremely helpful, Thanks for taking your time to write this.

  9. torrent web says:

    You, my pal, ROCK! I found just the information I already searched all over the place and simply couldn at locate it. What a great web-site.

  10. You have remarked very interesting details ! ps nice web site. Justice is the truth in action. by Jeseph Joubert.

  11. EKDV 640 says:

    Wow, great blog article.Really thank you! Cool.

  12. dad says:

    You are my inspiration , I own few blogs and very sporadically run out from to post .

  13. for details says:

    I think this is a real great article.Really thank you! Want more.

  14. This is one awesome blog.Much thanks again. Really Cool.

  15. incredibly nice post, i certainly love this website, persist in it

  16. Tattoo says:

    There is a bundle to find out about this. You made nice points also.

  17. Really appreciate you sharing this post.Really looking forward to read more. Really Cool.

  18. Nice blog here! Also your site a lot up fast! What host are you the use of? Can I get your affiliate hyperlink in your host? I want my website loaded up as fast as yours lol

  19. just go to says:

    Wow, amazing blog layout! How lengthy have you ever been blogging for? you make blogging glance easy. The total look of your web site is wonderful, as well as the content material!

  20. Well I definitely liked studying it. This tip provided by you is very useful for correct planning.

  21. photography says:

    You could definitely see your enthusiasm in the work you write. The sector hopes for more passionate writers like you who aren at afraid to say how they believe. At all times go after your heart.

  22. You can certainly see your expertise in the work you write. The world hopes for more passionate writers like you who aren at afraid to say how they believe. Always go after your heart.

  23. Thanks-a-mundo for the blog article.Much thanks again. Much obliged.

  24. click here says:

    Thank you for another excellent post. Where else could anybody get that kind of information in such a perfect way of writing? I ave a presentation next week, and I am on the look for such info.

  25. href="">uploadea says:

    Simple & Powerful Uploadea is Amazingly easy to Use where to Store Your Data & Save Your Countless Time

  26. 부커취 says:

    Say, you got a nice blog article.Really thank you! Fantastic.

  27. Just wanna say that this is very beneficial, Thanks for taking your time to write this.

  28. Major thanks for the article.Much thanks again. Cool.

  29. Live Murder says:

    Pool Shop I perceived this amazingly very Article today

  30. This is one awesome blog article.Really looking forward to read more. Awesome.

  31. psihologija says:

    This blog is no doubt awesome additionally diverting. I have found helluva helpful stuff out of this amazing blog. I ad love to go back over and over again. Thanks!

  32. Pinganillos says:

    Many thanks for sharing this good post. Very inspiring! (as always, btw)

  33. Very good info. Lucky me I found your blog by chance (stumbleupon). I ave book-marked it for later!

  34. ballads says:

    particular country of the person. You might get one

  35. There is definately a lot to find out about this topic. I really like all the points you made.

  36. Cappadocia Balloon Flights, Balloon Flight in Cappadocia

  37. Cappadocia says:

    Thank you very much.

  38. Cappadocia Daily Tours, Private Cappadocia Tours

  39. Auto says:

    Thanks a lot.

  40. There is definately a great deal to find out about this subject. I love all of the points you made.

  41. click here says:

    This is one awesome blog article.Really looking forward to read more. Great.

  42. juicers says:

    Just discovered this blog through Yahoo, what a way to brighten up my day!

  43. Urls says:

    Nice post. I learn one thing tougher on totally different blogs everyday. It’ll always be stimulating to learn content from other writers and apply a little bit something from their store. Id choose to make use of some with the content on my blog whether or not you dont mind. Natually Ill offer you a link on your internet blog. Thanks for sharing.

  44. Urls says:

    you have a fantastic blog here! would you like to make some invite posts on my weblog?

  45. Sure matka says:

    SattaMatkaBom.In The Best Website For Satta Matka, Satta Matka Market, Indian Matka Market And SattaMatka. We Also Provide You Kalyan Satta Numbar 220 Patti Charts And Fix Matka Number Dpboss Boss Matka Satta Weekly Jodi And Panna. We Utilize Our Expertise To Help You With Kalyan Matka To Never Lose a Game. Get India’s Best Matka Results Site. We Offer The Best Satta Matka Tips & Tricks In Matka Guessing Forum. Matka Boss Just Visit Our Site & Get Weekly Lines Game, Date Fix And Free Matka Number Guessing Formula. Kalyan, Main Ratan Mumbai, Milan, Rajdhani Matka Bazar Results Live from Indian Matka.

  46. Thanks for sharing great info

  47. Great job thank you for everythink

  48. waldo says:

    Great work on this article, very nice to read.

  49. Big boss 15 says:

    thanks for this information

  50. Dorebu says:

    Naturally, the first thing to consider when choosing a toy for your child is the safety of any small parts. Your child can become ill from small parts. Children love to put anything in their mouths. You can view the parts of instructional toys before you buy and can ask our staff for assistance. Contact us before you buy on our website to find the right educational toys for your child.

Leave a Reply to Cancel reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>