Field in Domino Directory showing semi-colon?

Whenever an application accesses our Domino Directory listing and pulls certain fields like phone, manager, etc. for this particular person it inserts a semicolon before the field value. So when it searches that directory, it must be picking up the ; from somewhere. Here is a sample of code that it is using: @NameLookup([Exhaustive]; @UserName; “Manager”)

It is not only this code, but other developer codes that does it to this particular UserName.

Subject: RE: Field in Domino Directory showing semi-colon?

It sounds like either there are two person documents with this name (the first one with a lot of blank fields), so that these functions are returning a list, or else several fields in this user’s person record are actually multivalues with a blank initial value. You can use the document properties infobox from a view to see exactly what’s stored in the different fields and compare that with other person documents that do not exhibit this problem.

Subject: RE: Field in Domino Directory showing semi-colon?

I checked the document properties and the fields are exactly the same. I am confused because I have used the @Unique so it should stop at the first one encountered. There is only one person document with this name.

Any other suggestions?

Subject: RE: Field in Domino Directory showing semi-colon?

I don’t know what you mean you are “using the @Unique”. @Unique will not remove empty strings from a list – only duplicates. If the list value is “” : “something”, its membera are already unique.

It sounds like there’s more to this formula than the part you showed. What’s the whole thing?

Subject: RE: Field in Domino Directory showing semi-colon?

I figured it out: Here is the code I was using but that was not the problem.

@Unique(@NameLookup([Exhaustive]; @UserName; “Manager”))

I tried running the application on another PC and it did not pick up the semi-colon. I figured out that some time ago, the Lotus program was somehow corrupted so I uninstalled Lotus on that PC and reinstalled it, but I did not delete the Lotus file on the local PC. So, the install must have done something to the local file.

The solution: I uninstalled Lotus again, removed the local Lotus file, and reinstalled Lotus and it is working fine now.