How do you generate a doc refresh in the preview pane

I can’t seem to generate a document refresh in the preview pane. Thus updating a document from the view is not reflected in the preview pane. I have tried varies methods but no luck. The FollowupUtilities class in email db deals with this but they put the doc in edit mode and back to read mode. CRUED!!! and doesn’t work when you have a few other classes loaded (causes a NSD errors).

Does anyone have a solution?

What I have tried:

uidoc.refresh or NotesUIWorkspace.CurrentDocument.Refresh

Lotus Debugger says that the command is not available even thou the CurrentDocument is not Nothing.

i.e If Not(ws.CurrentDocument Is Nothing) then

Subject: How do you generate a doc refresh in the preview pane

You only have to reload the front end doc using the reload statement, and then use the refresh statement.

source.Reload

source.Refresh

That should do the trick.