Vitor Pereira

RSS Feeds

BlogSphere LotusGeek Custom Button Custom Button

« Get Well 2.0 | Main| Thank you Teamstudio! »

Undocumented parameter

Bookmark : del.icio.us  Technorati  Digg This  Add To Furl  Add To YahooMyWeb  Add To Reddit  Add To NewsVine 


I'm not really sure this will be useful for any of you but I've just found and undocumented parameter in the refresh method of the notesUIDocument class.

This is what's in the Designer 7 & 8.5 Help:

Defined in
NotesUIDocument

Syntax

Call notesUIDocument.Refresh( [ IncludeRichTextItems ] )

Parameters

IncludeRichTextItems

This is what the type ahead shows:

A picture named M2

If you include that optional parameter the method will also refresh any embedded views or editors in the form.

Thank you IBM for allowing me to learn something everyday.

Comments

10 - Nice discovery Vitor. Might come in handy !

11 - Thanks Finn. That one is also not documented.

14 - Thanks for the tip.
And I found that Notes 8 gives us an extra feature: SkipAddressLookups
notesUIDocument.Refresh( _
[ IncludeRichTextItems ], _
[ RefreshEmbeddedObjects ], _
[ SkipAddressLookups ] )

Post A Comment

:-D:-o:-p:-x:-(:-):-\:angry::cool::cry::emb::grin::huh::laugh::lips::rolleyes:;-)