Folder created by LotusScript/Java doesn't show on user interface

In Form actions, I can use LotusScript or Java ‘enableFolder’ method to create a folder, but it doesn’t show on user interface immediately.

I close IBM notes and reopen it. Then the folder appears.

I tried calling ‘refresh’ method of all views, but that had no effect.

How can I create folder and make it appears immediately?

Subject: Cannot refresh the left side folders

I don’t know if it’s an iFrame. Still I cannot find any way to refresh the user interface.

There are “View” and “Workspace” objects which have “Refresh” methods. I tried refreshing everything, but that doesn’t help.

Screenshot here http://postimg.org/image/dvmy4d7on/

Subject: Using an Outline?

I think Outlines don’t refresh unless the db is closed and reopened, or at the very least the outline is closed and reopened.

Subject: Reloading Frames

Have a look at SetTargetFrame and OpenFrameSet in the NotesUIWorkspace class. There’s an “OutlineReload” method as well.

Subject: is Folder in an iFrame?

The list of folders in an iFrame? If yes, try reloading/refreshing the iFrame.