Keywords & formula choices (group names)

What am I missing? I thought you could use a dialog list with “use formula for choices” + group names. e.g. “group1” : “group2”

I just get these group names in the list. We use a combo + dialog on the web… was wondering about allow multi-values but this option is grayed out for combo.

Thanks Team…

Subject: RE: keywords & formula choices (group names)

When you select “use formula for choices,” the return value of the formula becomes your list of choices. It sounds like you’re using the formula “group1”:“group2” and your choices are group1 and group2. So it sounds like it’s working exactly as designed. How is that different from what you wanted and expected?

Combobox fields don’t allow multiple values because that’s just how that UI element works. Have you ever seen one that does? You need a listbox.

If you are still having a problem, a little more detailed description of what you’re doing and what Domino is doing that you don’t like, might help us to help you.

Subject: RE: keywords & formula choices (group names)

Thanks Andre… sorry my posting was not clear. We just want a drop-down list on the web that shows the names of people in 2 groups. e.g. if groupA has Tim Jones and Nancy Jones… abd groupB has Jim Smith and Lee Smith, the drop-down should have the 4 names. If we add 3 names from groupA and remove 1 from groupB, it should update the drop-down (in this example… 6 users should now show). Sounds like I might be using the incorrect field type. We just want users to drop-down the box (like a combo) and select one option.

Subject: RE: keywords & formula choices (group names)

So you’re using group names in your choice list, and you’re wondering why Domino doesn’t look up the groups in the address book and substitute a list of their members?

I’m not sure how you expect Domino to know that these are group names. Do do you think that every time there’s a keyword list field, we should look at the values in it and say, “Hm. Are any of these group names? Do we have a group named ‘Yes’ or a group named ‘No’?”

Even if we knew they were group names, why assume that the developer means to expand them? For many applications, it’s perfectly valid to select a group rather than individual members of the group.

Instead, we chose a simple rule: your keyword formula must return the exact values that you want as choices. To look up the list of members of a group, your formula would need to look up the group name and retrieve its list of members. You could do this with an @DbLookup to the names.nsf on the server, but this is complicated if you have multiple address books, as many organizations do. It might be easier as well as more efficient to have a separate scheduled agent to poll the address book(s) periodically for changes to these groups, and store the list of members where you can find it more easily, such as in a profile document in the application.

Subject: RE: keywords & formula choices (group names)

In this case, I just want a dialog list to show names from some groups. Maybe I can use “groupA := @Is Member…” or something. I’ll keep testing.