<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Site dashboard is not getting set as default  home page in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/site-dashboard-is-not-getting-set-as-default-home-page/m-p/93396#M27620</link>
    <description>&lt;P&gt;Is this feature what are you looking for?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.alfresco.com/5.1/tasks/set-homepage.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/5.1/tasks/set-homepage.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Apr 2020 15:53:17 GMT</pubDate>
    <dc:creator>angelborroy</dc:creator>
    <dc:date>2020-04-28T15:53:17Z</dc:date>
    <item>
      <title>Site dashboard is not getting set as default  home page</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/site-dashboard-is-not-getting-set-as-default-home-page/m-p/93395#M27619</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I can see the below code in site-index.jsp..I want to have dynamic site dashboard as the default homepagepage once the user login to alfresco.&lt;/P&gt;&lt;P&gt;But in below code siteName is getting null so it is redirecting to alfresco home page only. kindly suggest how can I get different sites for users dynamically and set it as home page&lt;/P&gt;&lt;P&gt;// redirect to site or user dashboard as appropriate&lt;BR /&gt;String siteName = request.getParameter("site");&lt;BR /&gt;if (siteName == null || siteName.length() == 0)&lt;BR /&gt;{&lt;BR /&gt;// Get and forward to user's home page&lt;BR /&gt;SlingshotUserFactory slingshotUserFactory =&lt;BR /&gt;(SlingshotUserFactory) FrameworkUtil.getServiceRegistry().getUserFactory();&lt;BR /&gt;String userHomePage = slingshotUserFactory.getUserHomePage(context, userid);&lt;BR /&gt;response.sendRedirect(request.getContextPath() + userHomePage);&lt;BR /&gt;}&lt;BR /&gt;else&lt;BR /&gt;{&lt;BR /&gt;// forward to site specific dashboard page&lt;BR /&gt;response.sendRedirect(request.getContextPath() + "/page/site/" + URLEncoder.encode(siteName));&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 11:43:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/site-dashboard-is-not-getting-set-as-default-home-page/m-p/93395#M27619</guid>
      <dc:creator>Isha</dc:creator>
      <dc:date>2020-04-28T11:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Site dashboard is not getting set as default  home page</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/site-dashboard-is-not-getting-set-as-default-home-page/m-p/93396#M27620</link>
      <description>&lt;P&gt;Is this feature what are you looking for?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.alfresco.com/5.1/tasks/set-homepage.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/5.1/tasks/set-homepage.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 15:53:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/site-dashboard-is-not-getting-set-as-default-home-page/m-p/93396#M27620</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2020-04-28T15:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: Site dashboard is not getting set as default  home page</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/site-dashboard-is-not-getting-set-as-default-home-page/m-p/93397#M27621</link>
      <description>&lt;P&gt;Thanks for the link .But I want admin to set default homepage for all the users.&amp;nbsp;&lt;/P&gt;&lt;P&gt;for Example if user1 has assigned site1 then he should be able to view site1 dashboard after login.&lt;/P&gt;&lt;P&gt;if user2 has assigned site2 then he shoud be able to view site2 dashboard.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 05:44:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/site-dashboard-is-not-getting-set-as-default-home-page/m-p/93397#M27621</guid>
      <dc:creator>Isha</dc:creator>
      <dc:date>2020-04-29T05:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: Site dashboard is not getting set as default  home page</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/site-dashboard-is-not-getting-set-as-default-home-page/m-p/93398#M27622</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;What if one user&amp;nbsp;&lt;SPAN&gt;assigned&amp;nbsp; to multiple site?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 06:14:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/site-dashboard-is-not-getting-set-as-default-home-page/m-p/93398#M27622</guid>
      <dc:creator>sp2</dc:creator>
      <dc:date>2020-04-29T06:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Site dashboard is not getting set as default  home page</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/site-dashboard-is-not-getting-set-as-default-home-page/m-p/93399#M27623</link>
      <description>&lt;P&gt;If user has multiple site then we can fetch any site and set it as homepage. But where to set all this that i am not getting.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 07:21:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/site-dashboard-is-not-getting-set-as-default-home-page/m-p/93399#M27623</guid>
      <dc:creator>Isha</dc:creator>
      <dc:date>2020-04-29T07:21:45Z</dc:date>
    </item>
  </channel>
</rss>

