Web Script: org/alfresco/components/dashlets/site-welcome.get
Generated from /share/service/script/org/alfresco/components/dashlets/site-welcome.get on Jun 13, 2026 8:09:11 PM

Script Properties
Id:org/alfresco/components/dashlets/site-welcome.get
Short Name:Getting Started
Description:Displays a welcome note to the site manager
Authentication:none
Transaction:none
Method:GET
URL Template:/components/dashlets/site-welcome
Format Style:any
Default Format:html
Negotiated Formats:[undefined]
Implementation:class org.alfresco.web.scripts.DeclarativeWebScript
Extensions:[undefined]

Store: classpath:alfresco/site-webscripts

File: org/alfresco/components/dashlets/site-welcome.get.desc.xml
<webscript>
   <shortname>Getting Started</shortname>
   <description>Displays a welcome note to the site manager</description>
   <family>site-dashlet</family>
   <url>/components/dashlets/site-welcome</url>
</webscript>
File: org/alfresco/components/dashlets/site-welcome.get.head.ftl
<link rel="stylesheet" type="text/css" href="${page.url.context}/components/dashlets/site-welcome.css"/>
File: org/alfresco/components/dashlets/site-welcome.get.html.ftl
<div class="dashlet site-welcome">
   <div class="title">${msg("header.userWelcome")}</div>
   <div class="body">
      <div class="detail-list-item-alt theme-bg-color-2">
         <h4>${msg("header.siteDashboard")}</h4>
         <div>${msg("text.siteDashboard")}</div>
      </div>
<#if userIsSiteManager>
      <div class="detail-list-item">
         <h4 class="theme-color-1">${msg("header.joinSite")}</h4>
         <div>${msg("text.joinSite")}</div>
         <div><a href="${url.context}/page/site/${page.url.templateArgs.site!}/invite" class="theme-color-1">${msg("link.joinSite")}</a></div>
      </div>
      <div class="detail-list-item">
         <h4 class="theme-color-1">${msg("header.customiseDashboard")}</h4>
         <div>${msg("text.customiseDashboard")}</div>
         <div><a href="${url.context}/page/site/${page.url.templateArgs.site!}/customise-site-dashboard" class="theme-color-1">${msg("link.customiseDashboard")}</a></div>
      </div>
      <div class="detail-list-item last-item">
         <h4 class="theme-color-1">${msg("header.customiseSite")}</h4>
         <div>${msg("text.customiseSite")}</div>
         <div><a href="${url.context}/page/site/${page.url.templateArgs.site!}/customise-site" class="theme-color-1">${msg("link.customiseSite")}</a></div>
      </div>         
<#else>
      <div class="detail-list-item">
         <h4 class="theme-color-1">${msg("header.siteMembers")}</h4>
         <div>${msg("text.siteMembers")}</div>
         <div><a href="${url.context}/page/site/${page.url.templateArgs.site!}/site-members" class="theme-color-1">${msg("link.siteMembers")}</a></div>
      </div>
      <div class="detail-list-item">
         <h4 class="theme-color-1">${msg("header.onlineHelp")}</h4>
         <div>${msg("text.onlineHelp")}</div>
         <div><a href="http://www.alfresco.com/help/3/labs/DMShareHelp" class="theme-color-1" target="_blank">${msg("link.onlineHelp")}</a></div>
      </div>
      <div class="detail-list-item last-item">
         <h4 class="theme-color-1">${msg("header.featureTour")}</h4>
         <div>${msg("text.featureTour")}</div>
         <div><a href="http://www.alfresco.com/help/3/labs/ShareTutorial" class="theme-color-1" target="_blank">${msg("link.featureTour")}</a></div>
      </div>
</#if>
      <div class="clear"></div>
   </div>                                                    
</div>
File: org/alfresco/components/dashlets/site-welcome.get.js
// Call the repository to see if the user is site manager or not
var userIsSiteManager = false;
json = remote.call("/api/sites/" + page.url.templateArgs.site + "/memberships/" + stringUtils.urlEncode(user.name));
if (json.status == 200)
{
   var obj = eval('(' + json + ')');
   userIsSiteManager = obj.role == "SiteManager";
}

// Prepare the model
model.userIsSiteManager = userIsSiteManager;
File: org/alfresco/components/dashlets/site-welcome.get.properties
header.userWelcome=Getting Started

header.siteDashboard=Site Dashboard
text.siteDashboard=This is the dashboard for your site. It is a great place to start, giving you an overview of what is going on in this site.

header.joinSite=Invite People to Join Site
text.joinSite=You can invite people to join this site.
link.joinSite=Invite

header.customiseDashboard=Dashboard Customization
text.customiseDashboard=You can add or remove dashlets and change the layout of your dashboard.
link.customiseDashboard=Customize Dashboard

header.customiseSite=Site Customization
text.customiseSite=You can add or remove pages from this site.
link.customiseSite=Customize Site

header.siteMembers=Site Members
text.siteMembers=To view a list of the members of this site, click Members.
link.siteMembers=Members

header.onlineHelp=Online Help
text.onlineHelp=To view online help, click Help.
link.onlineHelp=Help

header.featureTour=Learn about Alfresco Share
text.featureTour=Walk through the guided tutorial to familiarize yourself with the features.
link.featureTour=Download Tutorial

Store: classpath:alfresco/webscripts

[No implementation files]