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 |
Add-ons is the place to find extensions, Alfresco customizations and related projects for your installation.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.