07-18-2018 06:48 AM
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>
07-19-2018 04:58 AM
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.
07-19-2018 04:58 AM
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.
Explore our Alfresco products with the links below. Use labels to filter content by product module.