本文介绍了GlobalList Projectwise的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 我知道我们可以从"witadmin listgloballist"中获取globalList列表。命令或通过代码。 有什么方法可以获得项目明智的全局列表列表吗?解决方案 Hi Nishu Singh, GlobalList.xml是一个集合级文件。此处列出了集合中的所有全局列表。 没有API来获取TFS中特定项目中使用的全局列表。 如果你想获得它们,你需要自己编写代码来搜索团队项目的工作项类型定义xml文件。 查找GLOBALLIST 元素名称where where - > Field - > ALLOWEDVALUES - > GLOBALLIST < Field name =" TestField1" refname = QUOT; My.Test1" type =" String">   < ALLOWEDVALUES expanditems =" true">     < GLOBALLIST name =" mylist1" />   < / ALLOWEDVALUES> < / Field> 最好的问候 I know we can get globalList list from "witadmin listgloballist" command or through code.Is there any way i can get list of global list used project wise? 解决方案 Hi Nishu Singh,GlobalList.xml is a collection level file. All the global lists in a collection are list here.There doesn't have API to get the global lists which are used in a specific project in TFS.If you want to get them, you need to write code yourself to search from work item type definition xml files of a team project.Find GLOBALLIST element name where have Fields-->Field-->ALLOWEDVALUES -->GLOBALLIST<Field name="TestField1" refname="My.Test1" type="String">  <ALLOWEDVALUES expanditems="true">    <GLOBALLIST name="mylist1" />  </ALLOWEDVALUES></Field>Best Regards 这篇关于GlobalList Projectwise的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
10-27 09:34