cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Content store

mrsaqib
Champ in-the-making
Champ in-the-making
As described in the following link that we can create content store so that content can be stored as per stored settings.

http://wiki.alfresco.com/wiki/Content_Store_Selector

I want to do the same but dynamnically using Java API. I am creating multiple spaces in alfresco using Java API, and I want create store for each so that content in each store can be physically distributed as well.

Can someone please help on how can i create and set store using Java?

Regards
5 REPLIES 5

mitpatoliya
Star Collaborator
Star Collaborator
You can create store using
    public StoreRef createStore(String protocol, String identifier);
API of
NodeService

mrsaqib
Champ in-the-making
Champ in-the-making
Thanks, I have successfully created the Store, but what i really want is to place documents uploaded within this "store" on different physical location, how can i do that in JAVA?

bopolissimus
Confirmed Champ
Confirmed Champ
Hello, 

Are using alfresco enterprise? Content store selectors are enterprise only.

mrsaqib
Champ in-the-making
Champ in-the-making
Yes I am using Alfresco Enterprise 4.0.2 currently.

mrsaqib
Champ in-the-making
Champ in-the-making
Any help please !!!

Any suggestion please…