cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco dashboard

vivekthakur21
Champ in-the-making
Champ in-the-making
Hi All,

My requirement is load "Document Library", instead of "site dashlet"  when entering to any site.

How to achieve the requirement? Do i need to do some modification in presents.xml file?


3 REPLIES 3

hdalang
Champ in-the-making
Champ in-the-making
Hi, just refer to this file
tomcat\webapps\share\site-index.jsp
and y
Just only change "dashboard" to "myfiles" like this:

      response.sendRedirect(request.getContextPath() + "/page/user/" + URLEncoder.encode(userid) + "/dashboard");

To

      response.sendRedirect(request.getContextPath() + "/page/user/" + URLEncoder.encode(userid) + "/myfiles");


and change "dashboard" to "myfiles" like this:

      response.sendRedirect(request.getContextPath() + "/page/site/" + URLEncoder.encode(siteName) + "/dashboard");

To

      response.sendRedirect(request.getContextPath() + "/page/site/" + URLEncoder.encode(siteName) + "/myfiles");

========================================================================
Email:hdalang@gmail.com
Skype:hishamfire

========================================================================
IF you saw my solution is very helpful please press "MARK AS HELPFUL"

I am not sure whether editing site-index.js will workout for the above requirement.

You should check out the new 5.1 release which includes a way to configure a custom landing page for sites out-of-the-box…

romschn
Star Collaborator
Star Collaborator
One quick option would be to try replacing
<page id="site/${siteid}/dashboard">
with
<page id="site/${siteid}/ddocumentlibrary">
in site-data\presets\presets.xml and see that works for you or not.

Hope this helps.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.