cancel
Showing results for 
Search instead for 
Did you mean: 

Creating stores

fbertos
Champ in-the-making
Champ in-the-making
Hi,

I'm creating stores with Alfresco Web Services using the following code:

        ParentReference parentReference = new ParentReference(
                STORE,
                reference.getUuid(),
                reference.getPath(),
                Constants.ASSOC_CONTAINS,
                Constants.createQNameString(Constants.NAMESPACE_CONTENT_MODEL, name));              
        NamedValue[] properties = new NamedValue[]{new NamedValue(Constants.PROP_NAME, name)};
        CMLCreate create = new CMLCreate(name, parentReference, Constants.TYPE_FOLDER, properties);
        CML cml = new CML();
        cml.setCreate(new CMLCreate[]{create});
        UpdateResult[] results = repositoryService.update(cml);

but I'd like to create stores using templates like the wizard. Is it possible??

Can anybody help me, please?

Thanks!!

fbertos
1 REPLY 1

cludt
Champ in-the-making
Champ in-the-making
This is currently not possible. I raised a JIRA-entry for this issue a few minutes ago, as there are more people wanting this feature to be implemented.

http://www.alfresco.org/jira/browse/AR-816

So, you should vote for this issue, if you want it to get fixed as soon as possible.