cancel
Showing results for 
Search instead for 
Did you mean: 

Custom dashlet as .jar and presets.xml

purohitsumit
Champ in-the-making
Champ in-the-making
Hi,
I am trying to include "Site Task Manager" dashlet into my site's dashboard page but it does not shows up at all.

Dashlet is a .jar file from https://code.google.com/p/formtek-site-task-manager/downloads/list
It does show up in the "customize site dashboard" and i can include it in the site, But i want to change default layout of site to show only this dashlet.
Here is how i am adding it.


     <!– Documentlist –>
   <component>
         <region-id>documentlist</region-id>
         <url>/formtek/components/dashlets/sitetaskmrg</url>
      </component>


Does alfresco share not allow to add custom dashlet in preset ?

Thanks
Sumit
1 REPLY 1

arnoldschrijve1
Champ on-the-rise
Champ on-the-rise
Yes, this is possible. You will have to use the correct region-id in your presets.xml. This depends a bit on the layout of your dashboard page, but could look something like this:


         <component>
            <scope>page</scope>
            <region-id>component-1-1</region-id>
            <source-id>site/${siteid}/dashboard</source-id>
            <url>/formtek/components/dashlets/sitetaskmrg</url>
            <properties>
               <height>504</height>
            </properties>
         </component>


The height is optional.