Everything about Domino, PHP and other programming languages

Refreshing an embedded view

Ferdi Verlaan  February 22 2010 09:42:51 AM
If you want an embedded view to refresh then please add the following code to a button, action or other component that triggers the refresh:

       
Call ws.ViewRefresh
       
Call uidoc.RefreshHideFormulas
       
Call ws.ViewRefresh        

On the embedded view itself, make sure there is a hide-when formula. If there isn't any, give the embedded view the formula: 1=0.


Image:Refreshing an embedded view

Because this is never true, the embedded view will never be hidden, but it will be refreshed due to the "RefreshHideFormulas" command on the ui document.

    Bookmark and Share