Highlighted
CAE1 Absent Member.
Absent Member.
907 views

Search in personal address books returns all entries

Hello,

with GroupWise 18 the search in a personal address books always returns all entries as search results.

This error can be reproduced as follows:

1. Personal address book with several entries
2. Run the following VBScript:

[INDENT]Dim gwappl
Dim gwacc
Dim gwAddressBooks
Dim gwAddressBook
Dim gwAddressBookEntries
Dim gwAddresses
Dim filter

Set gwappl = CreateObject("Novellgroupwaresession")
Set objShell = CreateObject("Wscript.Shell")

Set gwacc = gwappl.Login
Set gwAddressBook = gwacc.AddressBooks(3)
Set gwAddressBookEntries = gwAddressBook.AddressBookEntries

msgText = ""
search = "Hirsch"
filter = "(<Name> MATCHES """ & search & """)"
Set gwAddresses = gwAddressBookEntries.Find(filter)
if not gwAddresses is nothing then
msgText = CStr(gwAddresses.Count) & " address book entries found"
else
msgText = "No address book entries found"
end if

objShell.Popup msgText, infinite, "Field Tester for '" & gwAddressBook.Name & "'"
Set gwacc = Nothing
WScript.Quit 0
[/INDENT]

3. Output with which all entries are displayed as hits.

With best regards

Jürgen
Labels (1)
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.