用于验证工作项字段的SQL查询 [英] SQL Query to Validate Work Item Field

查看:65
本文介绍了用于验证工作项字段的SQL查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个TFS任务表单字段,我们要在其中输入自由格式的文本值,然后通过查询单独的非TFS数据库来验证该值是否存在。这可以使用存储过程来完成。我们不能使用静态选择
列表,因为有效值集可以随时更改。是否可以这样做?

解决方案

您好Alanlsrael,


您使用的是哪个版本的TFS?


没有默认方式来达到您的要求,您需要自定义您自己的工作项控件:


https://docs.microsoft.com/en-us/vsts/work/process/custom-controls-process


致以最诚挚的问候,


I have a TFS Task form field in which we want to enter a free-form  text value, and then validate this value by querying a separate non-TFS database to see if the value exists. This could be done using a stored procedure. We cannot use a static pick list because the set of valid values can change at any time. Is it possible to do this?

解决方案

Hi Alanlsrael,

Which version of TFS are you using?

There is no default way to achieve your requirement, you need to customize your own work item control:

https://docs.microsoft.com/en-us/vsts/work/process/custom-controls-process

Best regards,


这篇关于用于验证工作项字段的SQL查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆