This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal


Mar 9, 2016, 12:11 AM
16 Posts

uidoc.Refresh options explained?

  • Category: Domino Designer
  • Platform: Windows
  • Release: 9.0.1
  • Role: Developer
  • Tags:
  • Replies: 4

Can anyone explain the difference between the following to lines of code.

  • Call uidoc.Refresh(true)
  • Call uidoc.Refresh(true, true, true)

The documentation explains only using one parameter and I can't find any documentation on what the other parameters do.  I have an existing application that has worked fine with the parameters passed, however is occasionally throwing an error on this line of code.

To quote the documentation:

Parameters

IncludeRichTextItems

Note: This parameter is new with Release 5.
Boolean. Optional. Specify True to update all rich-text items in the back-end document to match the data in the front end. Defaults to False.

I am not sure what the other 2 parameters actually do?

Cheers,

A

Mar 9, 2016, 11:57 AM
42 Posts
Re: uidoc.Refresh options explained?
Hi Allan,

I have been checking into the uidoc.Refresh and all of the documentation I found also only mentions one parameter.

If those other two parameters do anything it doesn't seem to be documented anywhere.

I'd be interested to see if anyone has further information on this.

Thanks,

Mark
Mar 15, 2016, 12:33 AM
16 Posts
only referenced

Hey Mark,

Yeah, it is in a system that I inherited - and the multiple parameters for the uidoc refresh are in a fair few parts of the system.  It does not error when saving the design elements, and I have previously found reference to it in the Notes help but am not finding it now.  I will go ahead and remove it and see how I go.

Thanks, will post some links if I find any.

A

May 10, 2016, 1:12 PM
12 Posts
third parameter is SkipAddressLookups
If you create some code that uses NotesUIDocument and then call the refesh method,  the designer popup help has the other 2 parameters listed there.  The third one is Skipaddresslookups as Variant

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal