MultiValueControl with list of valid users is not working
Hi,
we are trying to do something like this:
```
<FIELD name="ProjectMembers" refname="Custom.Sprint.ProjectMembers" type="String">
<SUGGESTEDVALUES expanditems="true" filteritems="excludegroups">
<LISTITEM value="[project]\Developers" />
<LISTITEM value="[project]\Testers" />
</SUGGESTEDVALUESVALUES>
<ALLOWEXISTINGVALUE />
<VALIDUSER />
</FIELD>
```
This works when importing the WorkItem definition file, but fails when trying to create a workitem of that type in VisualStudio (in a pop-up dialog):
`ProjectMembers does not have any values to list in the multiple values control. See ...`
Changing it to
```
<FIELD name="ProjectMembers" refname="Custom.Sprint.ProjectMembers" type="String">
<SUGGESTEDVALUES expanditems="true" filteritems="excludegroups">
<LISTITEM value="[[project]\Developers]]" />
<LISTITEM value="[[project]\Testers]]" />
</SUGGESTEDVALUESVALUES>
<ALLOWEXISTINGVALUE />
<VALIDUSER />
</FIELD>
```
causes the import to fail with:
```TF26171: User/group '[[project\Developers]' is not found.
TF26204: The account you entered is not recognized.```
How can we show a list of users from a predefined group in the MultiValueControl?
Thanks for your help.
**EDIT**
using a GLOBALLIST does not solve the issue, because it is impossible to
a) reference a 'project' group from a globallist
b) to use the `[ ]` syntax in globallist definition
Priority: 0 Unassigned
Vote count: 1
Last updated: 13.07.2015 9:31:24 -07:00
Planned for release:
Resolution:
Closed: