06-19-2018 02:13 PM
Developed by Emmanuel ROUX Please use GitHub issue tool to post issues.
This plugin allows to import a site creation on Alfresco startup but not only on Alfresco installation or upgrade (like the "Sample: Web Site Design Project" site). The creation uses the patch process in order to not execute it several times. This plugin allows to create one or more site(s) and for each site:
The plugin includes a sample in the folder "src\main\config\alfresco\module\siteBootstrap\sample".
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'> <beans> <!-- Site creation bootstrap --> <bean id="patch.siteLoadPatch.mySite" class="org.alfresco.plugin.site.bootstrap.SiteLoadBootstrap" parent="basePatch"> <property name="id"><value>patch.siteLoadPatch.mySite</value></property> <property name="description"><value>patch.siteLoadPatch.description</value></property> <property name="disabled"><value>false</value></property> <property name="dependsOn" > <list> <ref bean="patch.updateDmPermissions" /> </list> </property> <property name="spacesBootstrap" ref="siteLoadBootstrap-Spaces" /> <property name="usersBootstrap" ref="siteLoadBootstrap-Users" /> <property name="siteService" ref="siteService" /> <property name="authorityService" ref="authorityService" /> <property name="behaviourFilter" ref="policyBehaviourFilter" /> <property name="siteName"> <value>mySite</value> </property> <property name="bootstrapViews"> <map> <entry key="users"> <props> <prop key="location">alfresco/extension/Users_mySite.acp</prop> </props> </entry> <entry key="people"> <props> <prop key="location">alfresco/extension/People_mySite.acp</prop> </props> </entry> <entry key="groups"> <props> <prop key="location">alfresco/extension/Groups_mySite.txt</prop> </props> </entry> <entry key="contents"> <props> <prop key="location">alfresco/extension/Content_mySite.acp</prop> </props> </entry> </map> </property> </bean> </beans>
Owner | Emmanuel Roux |
Versions | Enterprise 4.0.x Enterprise 4.1.x Enterprise 4.2.x Enterprise 5.0.x Enterprise 5.1.x |
License Type | |
Project Page | GitHub - rouxemmanuel/SiteBootstrapAlfresco: Enable site bootstrap in Alfresco not only on Alfresco ... |
Download Page | GitHub - rouxemmanuel/SiteBootstrapAlfresco: Enable site bootstrap in Alfresco not only on Alfresco ... |
Tags | bootstrap site |
Component Type | Integration |
Extension Points | |
Installation | AMP |
Products | Repository |
Explore our Alfresco products with the links below. Use labels to filter content by product module.