Hi. I'm creating a Doc in alfresco with Name = "Hello World" and FileName
"hello-world.txt"
Dim properties As IDictionary(Of String, Object) = New
Dictionary(Of String, Object)()
properties(PropertyIds.Name) = "Hello World"
properties(PropertyIds.ObjectTypeId) =
Enums.CmisValue.GetCmisValue(Enums.BaseTypeId.CmisDocument)
Dim contentStream As Data.Impl.ContentStream = New
Data.Impl.ContentStream()
contentStream.FileName = "hello-world.txt"
contentStream.MimeType = "text/plain"
contentStream.Length = content.Length
contentStream.Stream = new Filestream("hello-world.txt",
FileMode.Open)
folder.CreateDocument(properties, contentStream, Nothing)
But when I fetch the Document by Id