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.
Store STORE = new Store(Constants.WORKSPACE_STORE, "SpacesStore"); SAMPLE_FOLDER = new Reference(STORE, null, "/app:company_home/cm:sample_folder"); // parent referenz erzeugen ParentReference parentReference = new ParentReference(STORE, null, "/app:company_home", Constants.ASSOC_CONTAINS, Constants.createQNameString(Constants.NAMESPACE_CONTENT_MODEL, "sample_folder")); // neuen Folder erzeugen innerhalb der ParentReference NamedValue[] properties = new NamedValue[]{Utils.createNamedValue(Constants.PROP_NAME, "Web Service Sample Folder")}; CMLCreate create = new CMLCreate("1", parentReference, null, null, null, Constants.TYPE_FOLDER, properties); CML cml = new CML(); cml.setCreate(new CMLCreate[]{create}); UpdateResult[] results = WebServiceFactory.getRepositoryService().update(cml);