I upgraded to the 6.0.2 client yesterday but it wasn’t a choice (yet) on this form…
I have a quick and dirty little support database that allows users to mail in support requests. I then convert that email to a request form. After I convert
the mail to a “Request” and then try to open the document in the view, I now get an error that reads "Warning: Ignoring portion of document that uses a
feature from a previous version of Notes." The document doesn’t even open now.
What the…?
Here’s the code behind the conversion…
Sub Click(Source As Button)
Dim session As New NotesSession
Dim db As NotesDatabase
Dim view As NotesView
Dim ws As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Dim doc As NotesDocument
Dim beDoc As NotesDocument
Dim rti As NotesItem
Dim uiCaller As String
Dim uiSummary As String
Set db = session.CurrentDatabase
Set view = db.GetView("AllByUNID")
Set uidoc = ws.CurrentDocument
Set doc = uidoc.Document
uiCaller = uidoc.FieldGetText("From")
uiSummary = uidoc.FieldGetText("Subject")
doc.Form = "Request"
doc.Caller = uiCaller
doc.Summary = uiSummary
key = doc.UniversalID
' get the document from the backend
Set beDoc = view.GetDocumentByKey(key)
If Not (beDoc Is Nothing) Then
Set rti = beDoc.GetFirstItem("Body")
Call doc.CopyItem( rti, "FullDescription" )
End If
Call doc.Save(True, True)
Call uidoc.Close()
End Sub