AnsweredAssumed Answered

Obtaining sites count in JSP - Reg

Question asked by ganmaku on Sep 5, 2010
Hello Team,

I am currently customizing the Alfresco Share Enterprise edition 3.2.

My business requirement is I need to redirect the homepage based on number of sites managed by the logged in user. Say, if he is able to view only one site, I will directly redirect him to "Document Library" page and for more than one site, then he will be redirected to "My Sites" page to choose which site he wants to view.

To achieve this, I have to make modification to the "site-index.jsp" page present under the "Share" application. But, I don't know how can I obtain the no. of sites that the user has access?

Please suggest me in this regard.

Outcomes