AnsweredAssumed Answered

Share site ACP import using AMP

Question asked by Jayesh Prajapati on Oct 19, 2012
Latest reply on Apr 7, 2014 by dcorneanu
Hello All,

I have created share site 'TEST' from Alfresco GUI. I created ACP file of share site from Alfresco DM using export option in ' Company Home > Sites > TEST> location. I selected "include this space" option during export process to include 'TEST' folder as well in ACP file.

I created AMP file to import ACP file in Alfresco instance. In-order to do that i provided below configuration in module content file.


<bean id="test.bootstrap"
      class="org.alfresco.repo.module.ImporterModuleComponent"
      parent="module.baseComponent">
  
   <!– Module Details –>
   <property name="moduleId" value="com_test" />
   <property name="name" value="test" />
   <property name="description" value="test" />
   <!–<property name="sinceVersion" value="1.0" />
   <property name="appliesFromVersion" value="1.0" />–>
  
   <!– Data properties –>
   <property name="importer" ref="spacesBootstrap"/>
   <property name="bootstrapViews">
      <list>
         <props>
            <prop key="path">/${spaces.company_home.childname}/${spaces.sites.childname}</prop>
            <prop key="location">alfresco/module/com_cignexdatamatics_clmsdm/bootstrap/test-folder.acp</prop>
         </props>
      </list>
   </property>
</bean>

I could import site acp file when i applied AMP file against fresh Alfresco instance (started only once), when i tried applying updated AMP file on same instance, it did not imported ACP file (I manually deleted earlier imported site before applying updated AMP package).

Note: I am using Alfresco version: Enterprise - v4.0.2 (.9 38)

Kindly suggest you idea to resolve this issue.

Thanks in advance.

Outcomes