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
Subject: The second parameter is for refreshing embedded objects.
Here’s where I found it:
http://www.vitor-pereira.com/ http://www.vitor-pereira.com/
Don’t know about the third parameter though.
Subject: 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
Subject: 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
Subject: 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