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