It's all about the answers!

Ask a question

how to hide custom toolbar buttons for a particular project area

Nikhil Raut (113) | asked Aug 25 '23, 12:46 a.m.

 I've successfully added a button to the toolbar of an RTC work item.

Is there a way to selectively hide the custom toolbar button for certain project areas in RTC?
If possible, could you kindly share code snippets or step-by-step guidance on achieving the mentioned functionality?

One answer

permanent link
Ralph Schoon (63.2k33646) | answered Aug 25 '23, 3:05 a.m.


No, to my knowledge there is no mechanism to hide UI parts based on project areas. There is also no place to configure something like this. 

If you add custom stuff and want to configure custom behavior for it, you have to come up with the custom behavior yourself. If a UI element lives in a work item editor presentation, it will be able to access the work items data somehow and could then decide to show or not.

Your answer

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.