MultiValue Control - Select more then 2

Topics: Developer Forum, Project Management Forum, User Forum
Sep 29, 2016 at 2:16 PM
so im using WitCustomControlSetup2015-1.3.2.1 since the most recent version 1.3.2.4 doesnt work with MultiValue Control in Web Access.

however is there any way to display more then 2 selected values in the specific field?
when i select more then 2 the enumeration gets replaced by "3 selected" and tbh since i went through the effort to get a multi value control i would have expected to select more then 2 without it being replaced no offence.

greetings Maria
Dec 17, 2016 at 4:59 PM
Edited Dec 17, 2016 at 5:02 PM
Hi Maria,

There is an unknown feature in the MultiValue Control that might solve your problem.

That feature is an autocomplete behavior that lets you see all the selecte values like this:

Web Access:

Image

Visual Studio:
Image

To configure your workitem control with the power tools, you just need to add the "behavior" attribute with a value of "autocomplete":
Image

Or, if you do it with XML the configuration would be something like this:
<Control FieldName="yourFieldName" Type="MultiValueControl" Label="YourLabel:" 
 LabelPosition="Left" Behavior="autocomplete">
   <CustomControlOptions />
</Control>
I you are interrested, there is also another less known behavior that lets you feed the MultiValue Control with values from an external URL but there are some road blocks for TFS2017 I think...

Regards

Stéphane