最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

tfs - How to Add Expand Button for Custom Description Field in Azure DevOps Server 2022 Extension? - Stack Overflow

programmeradmin1浏览0评论

I am developing a custom extension for Azure DevOps Server 2022, which includes a custom description field with additional functionalities beyond the default one. My goal is to add an maximize button similar to the one in the default Description field.

Sample maximize field

What I've Tried:

  • I attempted to provide a custom maximize button within my field, but it is not functioning as expected.
  • I checked the Process Template configuration and noticed that both the default and my custom description fields are bound to System.Description, which is inherently an HtmlFieldControl.
  • I explored the possibility of enabling the expand button via process XML but couldn't find a direct way to achieve this.

My Questions:

  • Is there a way to enable the maximize button for a custom extension field similar to the default description field?
  • Can this be achieved via process XML modifications, or is there a way to implement this through a form-control extension?

Any guidance or examples would be greatly appreciated!

I am developing a custom extension for Azure DevOps Server 2022, which includes a custom description field with additional functionalities beyond the default one. My goal is to add an maximize button similar to the one in the default Description field.

Sample maximize field

What I've Tried:

  • I attempted to provide a custom maximize button within my field, but it is not functioning as expected.
  • I checked the Process Template configuration and noticed that both the default and my custom description fields are bound to System.Description, which is inherently an HtmlFieldControl.
  • I explored the possibility of enabling the expand button via process XML but couldn't find a direct way to achieve this.

My Questions:

  • Is there a way to enable the maximize button for a custom extension field similar to the default description field?
  • Can this be achieved via process XML modifications, or is there a way to implement this through a form-control extension?

Any guidance or examples would be greatly appreciated!

Share Improve this question asked Jan 30 at 11:28 Subrahmanya BhatSubrahmanya Bhat 53 bronze badges 1
  • Checked the process for work item, the description is actually a group, not a simple field. For other groups, they also have the expand button. Have you checked to add group? – wade zhou - MSFT Commented Jan 31 at 11:17
Add a comment  | 

1 Answer 1

Reset to default 0

I'm afraid it's not supported to add the maximize button with a work item field.

Checked with sample description field in process, it's actually points to a group, the text field doesn't have this maximum button by default.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论