How do refresh the view a user returns to after editing a doc?

A user opens a document from any view.
In the PostSave event, other related docs are updated.

When the user closes the doc and returns to the view it needs refreshing with F9 which is annoying.

How can I determine from which view the doc was opened so I can refresh it within PostSave?

uidoc.CurrentView and doc.ParentView are not defined.
Who is Participating?
Sjef BosmanGroupware ConsultantCommented:
It's in the NotesUIWorkspace:

Call ws.ViewRefresh
JoogerAuthor Commented:
Thanks. I knew I'd done it before but just couldn't remember and thought I'd looked 'everywhere'
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.