Hello,I have the following problem:
In a Document is a RichtextField with a Document Link to another Document in the same Database.
The user opens the document and in the UiDoc is the following Action
Sub Click(Source As Button)
Dim Workspace As New NotesUIWorkspace
Dim UiDoc As NotesUIDocument
Dim Session As New NotesSession
Dim Db As NotesDatabase
Dim BackEndDoc As NotesDocument
Dim BackEndDocUNID As String
Set Db = Session.CurrentDatabase
Set UiDoc = Workspace.CurrentDocument
BackEndDocUNID = UiDoc.Document.UniversalID
Call UiDoc.Close
Set BackEndDoc = Db.GetDocumentByUNID(BackEndDocUNID)
BackEndDoc.Test = “TEST”
Call BackendDoc.Save(True, True)
Set UiDoc = WorkSpace.EditDocument(False, BackEndDoc)
End Sub
The button destroys the link to the document and I receive a Db-Link only!
Please, has someone a solution for my Problem?
Or a Workaround?
BEST regards
W.