cancel
Showing results for 
Search instead for 
Did you mean: 

Document Library Tree on User Dashboard

mcasanket
Champ on-the-rise
Champ on-the-rise
Hi all,
  There is one and only one site in my alfresco share. I want to show one dashlate that is having this site's document library tree in it (on user dashboard.)

I have created dashlate but dont know the logic to get that tree. It will be fine if I get only list. I can show it as a list. only the names are enough.
I have created two files for dashlate.
  tomcat\webapps\share\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\dashlets\my-dashlet.get.html.ftl
                                                                                                                                                      my-dashlet.get.desc.xml
                                                                                                                                                      my-dashlet.get.js (But dont knwo what to write :-()

Please help.

Please help me.
Thanking you!
2 REPLIES 2

zladuric
Champ on-the-rise
Champ on-the-rise
You're looking at a lot of work. Take a look at the share/components/documentlibrary/ and all the .js files inside for starters and also share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/documentlibrary/* , then ask here with a more concrete question.

In short - you'll have to create a client side javascript file too and include it in the dashlet and run some code there too.

mcasanket
Champ on-the-rise
Champ on-the-rise
Hi,

   The requirement has been changed. I need to show only the root folder list (with link to Doc library) in one dashlet on user dashboard.


You're looking at a lot of work.


Thanking you!