You are here

SiteService

Provides an extensive API for managing Sites in the Alfresco Share web client.
Information SiteService
Support Status Full Support
Architecture Information Platform Architecture
Description The SiteService provides an extension API for creating, deleting and managing Share Sites. Both JavaScript and Java APIs are available, and access to Sites is also possible via the Alfresco REST API.
Deployment - App Server Deploy as AMP or Simple Module (JAR) package.
Deployment - SDK Project Use SDK archetypes to produce AMP or Simple Module.
Java API Java API Documentation
Java example
                  
// Using siteService to obtain info about site                  
SiteInfo siteInfo = siteService.getSite(nodeRef);
String siteShortName = siteInfo.getShortName();
String siteGroup = siteService.getSiteGroup(siteShortName);                  
                  
               
More Information
Tutorials  
Alfresco Developer Blogs xxx