Share Site Space Templates

Like folder templates for Alfresco Share sites.

License

License

Categories

Categories

Ant Build Tools
GroupId

GroupId

com.metaversant
ArtifactId

ArtifactId

share-site-space-templates
Last Version

Last Version

1.1.3
Release Date

Release Date

Type

Type

pom
Description

Description

Share Site Space Templates
Like folder templates for Alfresco Share sites.
Project URL

Project URL

https://github.com/jpotts/share-site-space-templates
Source Code Management

Source Code Management

http://github.com/jpotts/share-site-space-templates/tree/master

Download share-site-space-templates

How to add to project

<!-- https://jarcasting.com/artifacts/com.metaversant/share-site-space-templates/ -->
<dependency>
    <groupId>com.metaversant</groupId>
    <artifactId>share-site-space-templates</artifactId>
    <version>1.1.3</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.metaversant/share-site-space-templates/
implementation 'com.metaversant:share-site-space-templates:1.1.3'
// https://jarcasting.com/artifacts/com.metaversant/share-site-space-templates/
implementation ("com.metaversant:share-site-space-templates:1.1.3")
'com.metaversant:share-site-space-templates:pom:1.1.3'
<dependency org="com.metaversant" name="share-site-space-templates" rev="1.1.3">
  <artifact name="share-site-space-templates" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.metaversant', module='share-site-space-templates', version='1.1.3')
)
libraryDependencies += "com.metaversant" % "share-site-space-templates" % "1.1.3"
[com.metaversant/share-site-space-templates "1.1.3"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • share-site-space-templates-repo

share-site-space-templates

Adds the ability to create a default set of folders to an Alfresco Share site by leveraging Space Templates.

For example, the out-of-the-box Share site "type" is shown in English as "Collaboration Site". Its preset ID is "site-dashboard".

After installing this AMP in your Alfresco WAR, you can create a folder under Data Dictionary/Space Templates called "site-dashboard". Then, anything you put in that folder will be copied into the document library of new "Collaboration Site" sites.

Alternatively, you can store your Share Site Space Templates in a Data Dictionary folder called Site Folder Templates, which is a folder this add-on will automatically add to your Data Dictionary. Storing your Share Site Space Templates in the Site Folder Templates folder will keep them separate from traditional Space Templates.

If you modify your site presets to add additional types of Share sites, you can create additional space templates for each type of site.

If you add rules to your Share Site Space Template, those rules will be copied to the new site's document library when the site is created.

Maven

Add the dependencies and overlays to the POM file of your WAR project.

For the repository tier, in a project created with the all-in-one archetype, edit repo/pom.xml:

<dependencies>
  ...
  <dependency>
      <groupId>com.metaversant</groupId>
      <artifactId>share-site-space-templates-repo</artifactId>
      <version>1.1.2</version>
      <type>amp</type>
  </dependency>
  ...
</dependencies>

<overlays>
  ...
  <overlay>
      <groupId>com.metaversant</groupId>
      <artifactId>share-site-space-templates-repo</artifactId>
      <type>amp</type>
  </overlay>
  ...
</overlays>

Manual Installation

Use mvn install to create the AMP.

You can then install the AMP as you normally would using the MMT.

Alternatively, you can use the Maven plug-in to install the AMP by running mvn alfresco:install -Dmaven.alfresco.warLocation=$TOMCAT_HOME/webapps/alfresco if you are running your Alfresco WAR expanded, or specify the WAR if you are running unexpanded.

No further config or setup is necessary.

Versions

Version
1.1.3
1.1.2