Collapsing Embedded View

How do i collapse an embedded view?

Subject: RE: Collapsing Embedded View

Don’t know but here are a few things to try:

NotesUIWorkspace.ReloadWindow (or the corresponding @Command), if the view is set to collapse on open.

NotesUIDocument.Refresh (or the corresponding @Command), if the view is set to collapse on open and the embedded view name is computed by a formula.

Put the code that is to collapse the view in a view action instead of a form or page action.