It's all about the answers!

Ask a question

Attribute customization: Set value to attribute directly using "HTTP Filtered Value Set" instead of user select this value

Nilesh Patil (1733550) | asked Nov 13 '15, 4:52 a.m.
edited Nov 13 '15, 5:04 a.m.
Hi All,
basically the requirement is,
I have custom fields in my workitem and I have used "HTTP Filtered Value Set" customization to populate value form the xml file, values are getting populated this is working fine. I want to go one more step further,
if the xml contains only one value for that custom attribute (or there is only one value is present for that custom attribute), I want to directly set the xml value to custom attribute instead of user select the value and add that value to custom attribute(Which is default behavior of the tool).

Is it possible to achieve this? Sample code would be very much helpful.

Thanks in advance

One answer

permanent link
Ralph Schoon (62.3k33643) | answered Nov 13 '15, 5:37 a.m.
As far as I know this is not possible. The HTTP filtered value provider works as a value set and always returns a list, even if that only contains just one value and the user has to select and set the choice.

Your answer

Register or to post your answer.