I have search the forum so apologies if this has been asked previously.
Is it possible to populate a drop down with the members of a NAB Group?
I can get the group via the service but members does not appear as an option to use
Many Thanks in advance :)
In theory you could use the Domino Database service call, choose the search in view options, choose names.nsf as the target nsf and the $Groups as the target view. Then you could type in the group name as a constant in input and choose the Members field as output.
May I know how do you currently get the group via service call ?
Tinus Riyanto - Prisma Global Solusi
I created a volt lookup view in the NAB.
Mainly because I could not use any of the inbuilt views due to the stupid idea of having the first column ticked to sort. Why it cannot use the sort as designed is beyond me
Update ... did not work as the service does not return the column values but the notes item.
This is a real shame
Well I was hoping that the Name Picker might allow you to select the fact you want to select from Group Members.
Sadly not.
Still struggling with this basic requirement
See no members ...
So I can return all the members of the group but they all go into a single entry in the drop down.
How a I going to split them?
Run the service on startup and use some sort of Javascript function to populate?
Create a listener for that service and put in the code that split the value on that listener.
May we know how you actually manage to get the group member ?
Totally lost on this, so I guess HCL dont want you using Group members in Volt.
Seems you need to be a tad more than "IT Savvy" in order to do anything really useful.
Hi Gary, I am sorry that you are having such a rough experience. I would like to help clear up a few things and hopefully provide some guidance. The name picker is not a substitute for directory services, it provides a mechanism to retrieve individual users. The intention of this is to make it easier to identify people in your organization and include them in the form. The Name Picker will provide groups as well, but it is not intended for returning the members as selectable entities.
At this time we have not provided the capability of returning all the members of a group because groups could contain hundreds of records as well as other groups. We have provided a service to get a group by name and also to check if a user is part of a group. In my opinion this is a short-coming and I am raising it as a feature request to add the capability to return members of a group so that it could be mapped to a list item.
Can you help us to understand how you wanted to use it?
HI Christopher
Many thanks for your reply.
I wanted to locate the group and retrieve the members list via a service (Domino Directory) to then populate a drop down list for selection.
For now I have created a new lookup view in the NAB and using the Notes Database service to get the members (although I am struggling with the split command in JS to populate the dropdown)