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

Posted on 2004-11-15
Last Modified: 2013-11-16
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
Question by:smithajohn
    LVL 46

    Expert Comment

    by:Sjef Bosman
    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.
    LVL 24

    Accepted Solution

    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)


    Author Comment

    Thanks, Hemanth.
    It worked! I didn't know the usage of @NameLookup.
    Thanks a lot...
    LVL 46

    Expert Comment

    by:Sjef Bosman

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    Suggested Solutions

    Problem "Can you help me recover my changes?  I double-clicked the attachment, made changes, and then hit Save before closing it.  But when I try to re-open it, my changes are missing!"    Solution This solution opens the Outlook Secure Temp Fold…
    Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now