AnsweredAssumed Answered

How to find paths for creation of folders while bootstraping?

Question asked by kartech11 on Jul 18, 2018
Latest reply on Jul 19, 2018 by afaust

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"

    <!-- 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">
                <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>