Hi,
I am attempting to get the file path for a document in the repository, but I get the error "no entry was specified". I was able to successfully run the code using a copy of the file in a windows folder, but I am unable to do the same with the file in the laserfiche directory. Any idea how to properly reference the document path in the repository?
DIM LF_DOCInfo as DocumentInfo = me.BoundEntryInfo
dim sExt as String = LF_DOCInfo.Extension
dim sDocName as String = LF_DOCInfo.Id & "_" & LF_DOCInfo.Name & "." & sExt
Dim TextLine As String
If System.IO.File.Exists( sDocName ) = True Then
Dim objReader As New System.IO.StreamReader(sDocName)
Do While objReader.Peek() <> -1
TextLine = TextLine & "|" & objReader.ReadLine() & vbNewLine
Loop
Else
End If