Attribute customization: Set value to attribute directly using "HTTP Filtered Value Set" instead of user select this value
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
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