Refresh Outline

Hi

I am adding outline entries dynamically into a database using LotusScript. I am using NotesOutline and NotesOutlineEntry classes for doing the above operation. But for displaying that newly created outline entries, i have to close and reopen the database again. But if I open the database in the designer client and then switch back to the Notes Client and create a new entry in the outline then the refresh works. Strange, can there be a bug? Is there any way to refresh the outline entries of a the database without to have the designer client open.

Regards Thorsten

Subject: Refresh Outline

I had a similar challenge in refreshing an outline based on updated hide/when formulas.

You could try using the SetTargetFrame method in the NotesUIWorkspace class att the end of your script, e.g.:

Dim workspace As New NotesUIWorkspace

Call workspace.SetTargetFrame(“”)

Call workspace.OpenPage(“”)