Hi,
I am trying to test how bootstrapping folders work. My alfresco server started up fine with the below bootstrap code for my folders.
1. I am not sure if my bootstrap was picked up, is there a way to check if my
2. Also its not clear to me where the folder was created , how do I confirm this?
3. what is actually my company_home location? how can I find it out?
bootstrap-context.xml
<bean id="customSpacesBootstrap" parent="spacesStoreImporter">
<property name="useExistingStore">
<value>${alfresco-bootstrap-platform-jar.bootstrap.data}</value>
</property>
<property name="bootstrapViews">
<list>
<props>
<prop key="path">/${spaces.company_home.childname}/${spaces.dictionary.childname}</prop>
<prop key="location">alfresco/module/alfresco-bootstrap-platform-jar/bootstrap/config_folder_template.xml</prop>
</props>
</list>
</property>
</bean>
config_folder_template.xml
<view:view xmlns:view='http://www.alfresco.org/view/repository/1.0'
xmlns:cm='http://www.alfresco.org/model/content/1.0' xmlns:app='http://www.alfresco.org/model/application/1.0'>
<cm:folder view:childName='cm:My First Folder'>
<app:uifacets />
<cm:name>My First Folder</cm:name>
<app:icon>space-icon-default</app:icon>
<cm:title>My First Folder</cm:title>
<cm:description></cm:description>
</cm:folder>
</view:view>
You should typically not bootstrap content using a spaces bootstrap - that is reserved for creating the initial state of a store like workspace://SpacesStore when Alfresco first starts up. For extensions / customisations you should primarily rely on ImporterModuleComponent.
The folder is created where you specified it - in your case in the "Data Dictionary" folder. The "Company Home" is the root folder you see when you access the "Repository" view in Share (aka "Repository" or "Documents" in the left-hand tree). All active content that is not some system content typically is located in the tree somewhere below Company Home.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
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.