How to add the personal title(Mr./Mrs.) to a Name field

I've a name field in a page, where I want to prefix the name with the personal title(Mr/Ms) . Now I use @Name([CN];@Username) for this field. If I change the userid from 'test' to
 'Mr. Test', it will come. But I want to display the same UserID value in some other locations also where only the Common name is needed. I tried all the versions of @Name. Hope it's clear.
Thanks in advance
smithajohnAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Sjef BosmanGroupware ConsultantCommented:
The gender isn't stored in the id-file, so you would have to retrieve that info from the NAB. I suppose the Mr. or Mrs. you want displayed only, I mean: not to be stored with the user's name? You need the @NameLookup function:
    @NameLookup( [ lookupType ] ; username; itemtoreturn )
and you have to use a Computed for Display field or Computed Text to display the Mr./Mrs. text in front of the user's name.
0
HemanthaKumarCommented:
The names record for the user should store this value.. Look for Title "Personal title" parameter on basic tab of the person record in Domino Directory.

Then use @NameLookup on this field (Title)

~Hemanth
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
smithajohnAuthor Commented:
Thanks, Hemanth.
It worked! I didn't know the usage of @NameLookup.
Thanks a lot...
0
Sjef BosmanGroupware ConsultantCommented:
:(
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Lotus IBM

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.