I want to bootstrap a folder within my site and further sub-folders within that folder.
1. How do I find out the complete path wherein to put my initial folder
2. To put my sub folder within the above folder, will the path be whatever is in #1 followed by /folder-name
3. I have a site called 'MyTestSite' , how can I create a folder within this site using bootstrapping (how can I find out the path?)
currently I am able to bootstrap to company_home/dictionary but would want to bootstrap the folders and sub folders to my site.
<bean id="myModule.bootstrap"
class="org.alfresco.repo.module.ImporterModuleComponent"
parent="module.baseComponent">
<!-- Module Details -->
<property name="moduleId" value="alfresco-bootstrap-platform-jar" />
<property name="name" value="myModuleBootstrap" />
<property name="description" value="My Modules initial data requirements" />
<property name="sinceVersion" value="1.0-SNAPSHOT" />
<property name="appliesFromVersion" value="1.0-SNAPSHOT" />
<!-- Data properties -->
<property name="importer" ref="spacesBootstrap"/>
<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_email_templates.xml</prop>
</props>
</list>
</property>
</bean>
Solved! Go to Solution.
Use the Node Browser tool (either in the Repository Admin Console or Share Admin Tools) to identify the XPath ("path" in your XML) you need to use to address specific folders.
Use the Node Browser tool (either in the Repository Admin Console or Share Admin Tools) to identify the XPath ("path" in your XML) you need to use to address specific folders.
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.