QName qname = QName.createQName("sc:doc");
getFileFolderService().create(parentSpace, "newtype", qname);
L'erreur:
The type is not supported by this service: {}sc:doc
Merci d'avance.
AuthenticationUtils.startSession(getUser(), getPassword());
Store storeRef = new Store(Constants.WORKSPACE_STORE, "SpacesStore");
String folderPath = "/app:company_home/cm:" + getRootFolder();
String timeStamp = new Long(System.currentTimeMillis()).toString();
ParentReference docParent = new ParentReference(
storeRef,
null,
folderPath,
Constants.ASSOC_CONTAINS,
Constants.createQNameString(SomeCoModel.NAMESPACE_SOMECO_CONTENT_MODEL,
getContentName() + timeStamp));
…
Il y a sûrement un service?
Create a QName from its internal string representation of the following format: {namespaceURI}localName
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.