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.
/** The store used throughout the samples */ protected static final Store STORE = new Store("workspace", "SpacesStore"); protected static final Reference SAMPLE_FOLDER = new Reference(STORE, null, "/app:company_home/app:user_homes"); Node[] theFolder; try { AuthenticationUtils.startSession("admin", "admin"); } catch (Throwable e) { System.out.println("admin authentication failed:"+e.toString()+" "+ e.getMessage()); e.printStackTrace(); } try{ theFolder=WebServiceFactory.getRepositoryService().get(new Predicate(new Reference[]{SAMPLE_FOLDER}, STORE, null)); } catch(Exception exception){ System.out.println("Ya un probleme:"+exception.getMessage()); exception.printStackTrace(); } try{ String uuid=new String(theFolder[0].getReference().getUuid()); System.out.println("folder uuid:"+uuid); } ….