<?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 as welcome page in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/site-dashboard-as-welcome-page/m-p/62076#M21561</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great ! I run an embedded Tomcat on sdk 3 architecture. Where can i place this code ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Feb 2018 08:33:52 GMT</pubDate>
    <dc:creator>anakin59490</dc:creator>
    <dc:date>2018-02-07T08:33:52Z</dc:date>
    <item>
      <title>Site dashboard as welcome page</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/site-dashboard-as-welcome-page/m-p/62074#M21559</link>
      <description>Hi,after the login step i would like to have my dasboard site as welcome pagehttp://localhost:8080/share/page/site/documed/dashboard&amp;nbsp;So i try to use slingshot.site.configuration.xml file (Making the new page the default | Alfresco Documentation)&amp;nbsp;without succes :Thank's in advance</description>
      <pubDate>Tue, 06 Feb 2018 17:44:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/site-dashboard-as-welcome-page/m-p/62074#M21559</guid>
      <dc:creator>anakin59490</dc:creator>
      <dc:date>2018-02-06T17:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Site dashboard as welcome page</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/site-dashboard-as-welcome-page/m-p/62075#M21560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Was having similar issue, resolved it by modifying the site-index.jsp, below is code for same.bold letter contains the name of site&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;lt;%@ page import="org.alfresco.web.site.*" %&amp;gt;&lt;BR /&gt;&amp;lt;%@ page import="org.springframework.extensions.surf.*" %&amp;gt;&lt;BR /&gt;&amp;lt;%@ page import="org.springframework.extensions.surf.site.*" %&amp;gt;&lt;BR /&gt;&amp;lt;%@ page import="org.springframework.extensions.surf.util.*" %&amp;gt;&lt;BR /&gt;&amp;lt;%@ page import="java.util.*" %&amp;gt;&lt;BR /&gt;&amp;lt;%&lt;BR /&gt; // retrieve user name from the session&lt;BR /&gt; String userid = (String)session.getAttribute(SlingshotUserFactory.SESSION_ATTRIBUTE_KEY_USER_ID);&lt;BR /&gt;&lt;BR /&gt; // test user dashboard page exists?&lt;BR /&gt; RequestContext context = (RequestContext)request.getAttribute(RequestContext.ATTR_REQUEST_CONTEXT);&lt;BR /&gt; if (!context.getObjectService().hasPage("user/" + userid + "/dashboard"))&lt;BR /&gt; {&lt;BR /&gt; // no user dashboard page found! create initial dashboard for this user...&lt;BR /&gt; Map&amp;lt;String, String&amp;gt; tokens = new HashMap&amp;lt;String, String&amp;gt;();&lt;BR /&gt; tokens.put("userid", userid);&lt;BR /&gt; FrameworkUtil.getServiceRegistry().getPresetsManager().constructPreset("user-dashboard", tokens);&lt;BR /&gt; }&lt;BR /&gt;&lt;BR /&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; // forward to user specific dashboard page&lt;BR /&gt; response.sendRedirect(request.getContextPath() + "/page/site/&lt;STRONG&gt;{NAME OF SITE}&lt;/STRONG&gt;/dashboard");&lt;BR /&gt;&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) + "/dashboard");&lt;BR /&gt; }&lt;BR /&gt;%&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 06:21:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/site-dashboard-as-welcome-page/m-p/62075#M21560</guid>
      <dc:creator>krutik_jayswal</dc:creator>
      <dc:date>2018-02-07T06:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Site dashboard as welcome page</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/site-dashboard-as-welcome-page/m-p/62076#M21561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great ! I run an embedded Tomcat on sdk 3 architecture. Where can i place this code ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 08:33:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/site-dashboard-as-welcome-page/m-p/62076#M21561</guid>
      <dc:creator>anakin59490</dc:creator>
      <dc:date>2018-02-07T08:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Site dashboard as welcome page</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/site-dashboard-as-welcome-page/m-p/62077#M21562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think&amp;nbsp;\src\main\resources\META-INF\resources&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 08:54:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/site-dashboard-as-welcome-page/m-p/62077#M21562</guid>
      <dc:creator>krutik_jayswal</dc:creator>
      <dc:date>2018-02-07T08:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Site dashboard as welcome page</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/site-dashboard-as-welcome-page/m-p/62078#M21563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, so i have created site-index.jsp file with your code in&amp;nbsp;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;\src\main\resources\META-INF\resources and i have deleted&amp;nbsp;&lt;SPAN&gt;slingshot.site.configuration.xml file but it doesn't work.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;SPAN&gt;i try to move site-index.jsp in&amp;nbsp;&lt;SPAN style="color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;\src\main\resources\META-INF\resources\project-share-jar without succes...&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; color: #727174;"&gt;I have made new test by adding a new&amp;nbsp;slingshot.site.configuration.xml&amp;nbsp;in site-data\configurations :&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; color: #727174;"&gt;&amp;lt;configuration&amp;gt;&lt;BR /&gt; &amp;lt;source-id&amp;gt;site&amp;lt;/source-id&amp;gt;&lt;BR /&gt; &amp;lt;properties&amp;gt;&lt;BR /&gt; &amp;lt;root-page&amp;gt;site-index&amp;lt;/root-page&amp;gt;&lt;BR /&gt; &amp;lt;/properties&amp;gt;&lt;BR /&gt;&amp;lt;/configuration&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; color: #727174;"&gt;&amp;nbsp;but it still doesn't work&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 10:53:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/site-dashboard-as-welcome-page/m-p/62078#M21563</guid>
      <dc:creator>anakin59490</dc:creator>
      <dc:date>2018-02-07T10:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: Site dashboard as welcome page</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/site-dashboard-as-welcome-page/m-p/62079#M21564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Other configurations are not required, you only need to override site-index.jsp.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 10:59:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/site-dashboard-as-welcome-page/m-p/62079#M21564</guid>
      <dc:creator>krutik_jayswal</dc:creator>
      <dc:date>2018-02-07T10:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: Site dashboard as welcome page</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/site-dashboard-as-welcome-page/m-p/62080#M21565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok than you, this is what i have done :&lt;/P&gt;&lt;P&gt;- i have deleted configurations folder&lt;/P&gt;&lt;P&gt;-&amp;nbsp;I have added a log trace to know if the file is loaded&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image" src="https://connect.hyland.com/legacyfs/online/alfresco/19188_try1.png" style="width: 739px; height: 324px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it doesn't work...&lt;/P&gt;&lt;P&gt;The site name is ok :&amp;nbsp;&lt;IMG class="image-2 jive-image" src="https://connect.hyland.com/legacyfs/online/alfresco/19190_pastedImage_2.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user is well affected to this site&lt;/P&gt;&lt;P&gt;I don't know....&lt;/P&gt;&lt;P&gt;I'm going to try by moving site-index.jsp file in other folder&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx in advance for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 11:34:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/site-dashboard-as-welcome-page/m-p/62080#M21565</guid>
      <dc:creator>anakin59490</dc:creator>
      <dc:date>2018-02-07T11:34:29Z</dc:date>
    </item>
  </channel>
</rss>

