cancel
Showing results for 
Search instead for 
Did you mean: 

Content store selection while uploading document (Multiple content store)

brijeshnk
Star Contributor
Star Contributor

This is regarding a alfresco multiple content store .

I believe , we can create multiple contentstore location , other than default one. ($ALF_DATA/contentstore/2019) .

In case if i have multiple contentsore defined using config file(‘content-store-selector-context.xml’ ). 

Question is :-

Is there a way to specify or select contentstore while uploading files to alfresco . for ex – if i have following config ,

<bean id="secondSharedFileContentStore" class="org.alfresco.repo.content.filestore.FileContentStore">
<constructor-arg>
             <value>D:/Clm_StoreB</value>
</constructor-arg>
</bean>

How can i specify document to be uploaded to [D:/storeB/2019 ] location , instead of default location ($ALF_DATA/contentstore/2019)

2 REPLIES 2

angelborroy
Community Manager Community Manager
Community Manager

If you are using Alfresco Enterprise, you can configure the Content Store Selector:

https://docs.alfresco.com/6.1/concepts/store-manage-content.html

If you are using Alfresco Community, you can install this addon:

https://github.com/Acosix/alfresco-simple-content-stores

Hyland Developer Evangelist

Hi  , thanks for the response. 

I am using Alfresco EE 6.x  . I understand we can configure multiple content store . But while uploading the document it always goes to default contet store location .

As i mentioned im my initial query,  how do i specify contentstore while uploading the docuement through Alfresco share(application UI ) .  If i have multiple store configured ( storeA & storeB). How we can i specify uploaded document to be stored in storeA or storeB.

Thanks