 
					
				
		
04-27-2010 06:37 AM
 
					
				
		
04-27-2010 06:53 AM
 
					
				
		
04-29-2010 05:15 AM
 
					
				
		
07-15-2010 07:16 AM
                Store storeRef = new Store(Constants.WORKSPACE_STORE, "SpacesStore");
                ParentReference parentReference = null;
                NamedValue[] properties = null;
                CMLCreate create = null;
                CMLCreate[] arrayCreate = null;
                CML cml = null;
                try {
                    // Crear la referencia al padre del espacio a crear
                    parentReference = new ParentReference(storeRef, null, nodoPadre, Constants.ASSOC_CONTAINS, Constants.createQNameString(Constants.NAMESPACE_CONTENT_MODEL, nodos1[i]));
                    // Crear el espacio
                    properties = new NamedValue[]{Utils.createNamedValue(Constants.PROP_NAME, nodos1[i])};
                    create = new CMLCreate("1", parentReference, null, null, null, Constants.TYPE_FOLDER, properties);
                    cml = new CML();
                    arrayCreate = new CMLCreate[]{create};
                    cml.setCreate(arrayCreate);
                    WebServiceFactory.getRepositoryService().update(cml);
                } catch (RemoteException ex) {
                    Logger.getLogger(SubirDocServiceSkeleton.class.getName()).log(Level.SEVERE, null, puntoCodigo + "\n" + ex);
                    creando = false;
                    return "No se ha podido crear la carpeta…";
                }
 
					
				
				
			
		
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.