【问题标题】:Tooltip for dropdown list items in work item definition in TFSTFS 中工作项定义中下拉列表项的工具提示
【发布时间】:2015-12-12 00:22:47
【问题描述】:

我正在自定义 TFS 中的工作项。其中一个字段是包含少量列表项的下拉字段。

<FIELD name="Test" refname="Name.Test"
    type="String" reportable="dimension">
    <HELPTEXT>Cost Center to be billed for this task</HELPTEXT>    
    <ALLOWEDVALUES expanditems="true">    
       <LISTITEM value="001">    
       <LISTITEM value="002">    
       <LISTITEM value="003">    
    </ALLOWEDVALUES>    
      <REQUIRED />   
</FIELD>

我想为每个列表项提供工具提示。例如,默认情况下列表项 001,工具提示显示为 001,我想自定义它,例如“这是项目 001”等。我尝试为每个列表项设置帮助文本,但它给出了验证错误。在 TFS 上不能这样做吗?

【问题讨论】:

    标签: tfs


    【解决方案1】:

    这是不可能的。

    您可以放置​​一个指向 wiki 页面的链接,该页面解释了它旁边的列表。

    【讨论】:

      【解决方案2】:

      工具提示限制为 255 个字符。
      对于一个简短的列表,您可以这样做:

      <HELPTEXT>Cost Center to be billed for this task&#10;This is the item 001&#10;This is the item 002&#10;This is the item 003&#10;</HELPTEXT>
      

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2022-01-12
        • 2010-10-15
        • 2017-11-24
        • 2023-04-10
        • 1970-01-01
        相关资源
        最近更新 更多