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.
on System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) on System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) on Alfresco.RepositoryWebService.RepositoryService.update(CML statements) in U:\InfoPath\Alfresco\alfresco-dotNet-2\Alfresco\Web References\RepositoryWebService\Reference.cs:Line 356. on Samples.ImageUploadExample.btnUpload_Click(Object sender, EventArgs e) in U:\InfoPath\Alfresco\alfresco-dotNet-2\Samples\ImageUploadExample.cs:Line 110.
UpdateResult[] updateResult = repoService.update(cml);
parentReference.path = "/app:company_home/app:user_homes/cm:x-alfresco";
private String getUuid(Alfresco.RepositoryWebService.Store spacesStore) { String uuid = ""; Alfresco.RepositoryWebService.Query query = new Alfresco.RepositoryWebService.Query(); query.language = Alfresco.RepositoryWebService.QueryLanguageEnum.lucene; query.statement = "@cm\\:name:\"x-alfresco\""; QueryResult result = this.repoService.query(spacesStore, query, true); if (result.resultSet.rows != null) { uuid = result.resultSet.rows[0].node.id; } return uuid; }
// Determine the uuid of the node, where the content should be saved parentReference.uuid = getUuid(spacesStore);