Search code examples
lotus-noteslotusscriptlotus-formula

Refresh regular view and embedded view


I have a view from which I can open documents and change its status. After I change status document is being closed but view doesn't refresh until I press F5. Same thing happens when I create a response document from an document with embedded view. Embedded view should show all repsonce documents and its status. Thank you for your help.


Solution

  • After changing document call

    Dim workspace As New NotesUIWorkspace
    Call workspace.ViewRefresh
    

    in your Lotus Script code or

    @Command( [ViewRefreshFields] ) 
    

    in your formula.