cancel
Showing results for 
Search instead for 
Did you mean: 

Site presets - site data lists URL

ivo_pavlik
Champ in-the-making
Champ in-the-making
Hi.

I'm creating a preset of a site template and I need to put Site Data Lists dashlet into a site dashboard of new created site. I'm doing it in presets.xml within "<TOMCAT_HOME>/webapps/share/WEB-INF/classes/alfresco/site-data/presets".
However, if I use URL "/components/dashlets/site-data-lists", dashlet can't be found. I can't find any other URL, which could be used. Btw., what are the URLs based on? I found directory "<TOMCAT_HOME>/webapps/share/components/dashlets" where are the named by URLS used in presets. site-data-lists.js is missing, however site-data-list.css is present. However site-data-lists.get.js (and .properties and so on) within "<TOMCAT_HOME>/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/dashlets" is present.
Does anybody know how to use Site Data Lists dashlet within a presets.xml? I'm using Alfresco 3.4.e.

Thanks for any suggestion.
2 REPLIES 2

shahsnehal
Champ in-the-making
Champ in-the-making
This dashlet is of "site-dashlet" family. Make sure you are not using it in "User Dashlet". Otherwise your entry is fine for "/components/dashlets/site-datalists"

ivo_pavlik
Champ in-the-making
Champ in-the-making
Of course I'm using it within "Site preset (template)". Btw., I used "/components/dashlets/site-datalists" by your suggestion instead of "/components/dashlets/site-data-lists" (without the last dash) and surprisingly it works, so thank you. Now I'm confused how to guess URLs for dashlets. I found some files (I mentioned in the first post) based on template "site-data-lists*.*" (with the last dash).
Where can I find URLs for site (user) dashlets?

Thanks.