AnsweredAssumed Answered

Different contentstore locations

Question asked by mko123 on Dec 16, 2010
Latest reply on Dec 17, 2010 by mko123
Hi guys,

tryng to implement a selection for different contentstore locations as described in: http://wiki.alfresco.com/wiki/Content_Store_Selector

During restart it is missing a parentbean "storeSelectorContentStoreBase"

Can anyone help or figure out a correct way to make the content store location choosable ???

Thanks!




<bean id="contentService" parent="baseContentService">
      <property name="store">
          <ref bean="storeSelectorContentStore" />
      </property>
   </bean>
  
<!– 
   <bean id="storeSelectorContentStore" parent="storeSelectorContentStoreBase">
       <property name="defaultStoreName">
            <value>default</value>
       </property>
       <property name="storesByName">
           <map>
               <entry key="default">
                   <ref bean="fileContentStore" />
               </entry>
               <entry key="TestStore1">
                   <ref bean="mytestFileContentStore1" />
               </entry>
          </map>
       </property>
   </bean>

Outcomes