As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
QName qname = QName.createQName("sc:doc"); getFileFolderService().create(parentSpace, "newtype", qname);
The type is not supported by this service: {}sc:doc
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)); …
Create a QName from its internal string representation of the following format: {namespaceURI}localName