How do I create a dialog list with emails in Lotus Domino that allows the Originator to only see the name not the emails?

Posted on 2010-04-01
Medium Priority
Last Modified: 2013-12-18
For example, if my list contains the following names:

Charles Wentworth
Sally Kline
Peter Cunningham

and their respective emails are:


How can I code the emails to be placed in the field value behind the scenes for the distribution, but allow on the client end them to only see the list as names?
Question by:fselliott
  • 5
  • 4
LVL 22

Expert Comment

ID: 29337038
Use hidden field for mail addresses.
Show only names in dialog.
After the dialog is closed, to get e-mails of seleced person use:

@Replace( sourcelist ; fromlist ; tolist )

sourcelist is field from dialog
fromlist is the list of all names
tolist is the list of all mail addresses

Or, even better, use List in LotusScript, with name as list_key and mail as list_value.

Author Comment

ID: 29338686
Cany you explain this in laymans terms please?  I've tried several ways but I'm just not getting it right.
LVL 22

Expert Comment

ID: 29339434
@Replace returns the sourcelist, with any values from fromlist replaced by the corresponding value in tolist.
If none of the values in fromlist matched the values in sourcelist, then sourcelist is returned unaltered.

@Replace("Red":"Orange";  "Orange":"Blue":"Red":"Green";  "Black":"Brown":"Gray":"White")

will evaluate to this list:

"Gray" : "Black"

- it goes through sourcelist
- takes first element "red"
- then locates "red" in fromlist and establishes it's third in the list
- then takes third element from tolist and puts it in result list (list it'll return when it finishes)

- then it takes second element "Orange"

Now clearer?
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

LVL 22

Expert Comment

ID: 29339696
In other words:
when you write the Replace function like in the example above you tell the function to:
    return the sourcelist, but first replace:
    "Orange" with "Black"
    "Blue" with "Brown"
    and so on...
LVL 46

Expert Comment

by:Sjef Bosman
ID: 29347787
Can you rephrase your question? I'm afraid I don't understand what you want. Are you talking about:
- a view
- an existing mail, e.g. in the Inbox
- a new mail you're preparing
- is it the standard mail template, or a different one?
- and, most importantly, why do you want to hide information?

Address information can usually be found in the Document Properties, 2nd tab...

Author Comment

ID: 29348154
I'm using a dialog list to show the names to the client on a form.  I do not want them to see the emails that are going to the companies outside of ours, but I want to use the emails for distribution.

I am reading the HELP section on the @ReplaceSubstring function right now.  It looks as though I can create a hidden field that translates the dialog list name(s) chosen into a string of emails. Correct?
LVL 22

Accepted Solution

mbonaci earned 2000 total points
ID: 29348420
Yes, that's right.
Also, if your database design is hidden (which is normally the case) the user wont be able to see hidden field value even in document properties.

Author Comment

ID: 29348709
Where/how is the database design hidden? And that makes me think - shouldn't I also prevent changes being made by the company we replicate to?

Author Comment

ID: 29349524
Thank you!  

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
For beginners of Lotus Notes user this is important to know about the types of files and their location supported by IBM Notes. Mostly users are unaware about how many file types are created and what their usages are. This Article is fully dedicated…
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…
Planning to migrate your EDB file(s) to a new or an existing Outlook PST file? This video will guide you how to convert EDB file(s) to PST. Besides this, it also describes, how one can easily search any item(s) from multiple folders or mailboxes…
Suggested Courses

601 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