AnsweredAssumed Answered

Presets.xml problem

Question asked by mcasanket on Dec 22, 2011
Latest reply on Dec 23, 2011 by mcasanket
Hello everyone!  :D
   In one requirement, I need to show document library's root folders list on user dashboard. There will be one and only one site always. Also I need to show the site calender with events. However I have done both the things but facing problem with presets.xml file.

I have configured both the dashlets in presets.xml and put the preset.xml in tomcat\shared\classes\alfresco\web-extension\site-data\presets folder.
However the other dashlets are working fine for new users but mine two dashlets are not showing automatically for new user. He/She has to go in customize dashboard and have to add this tow dashlets.
here is the block of lines i have put in user-dashboard section of presets.xml.

       <component>
            <scope>page</scope>
            <region-id>component-1-1</region-id>
            <source-id>site/sanket/dashboard</source-id>
            <url>/components/dashlets/docLibrary</url>
         </component>   
      
       <component>
            <scope>page</scope>
            <region-id>component-1-2</region-id>
            <source-id>site/sanket/dashboard</source-id>
            <url>/components/dashlets/calendar</url>
         </component>

Please help!  :(
Thanking you!

Outcomes