It's all about the answers!

Ask a question

How to add a new button (similar to 'Refresh','Subscribe Me') on the Top right in a Work Item Header so that I can use this for external URL linkage ?


HARESH KRISHNAN (21113) | asked Apr 04 '13, 3:29 a.m.
Background :
Working on RTC Eclipse client 4.0.0.1 on customizing the Work Item Types 


What I am Looking for :
1. The requirement is to have a button on all the Work Item types Header section (Top Right), clicking on those will open an external URL(a reference kind). 
2. How can the length(Character size) of an attributed be configured in the Process Configuration. (Example: How can the length of an attribute with the kind 'Small HTML' be specified to a particular amount of characters)

What I Researched : 
I looked into the configurations related to these under "Editor Presentations > Editor Header > Header Section" and found that only attributes can be added and customized, where as all the buttons related stuffs are no where present neither in the section nor the XML source.

Let me know if this can be achievable ?

One answer



permanent link
Lauren Hayward Schaefer (3.3k11427) | answered Apr 04 '13, 6:55 a.m.
JAZZ DEVELOPER
Hi Haresh,

1.  https://jazz.net/library/article/782/#Draft_Linked_Defect describes how to add a button to a work item.

2.  You can use a regular expression to limit the number of characters in some attribute.  https://jazz.net/library/article/537/ has an example of this.

Comments
kavita herur commented Apr 15 '13, 6:33 a.m.

Hi

I would like to know the answer for this query.

 I gone through the below link

https://jazz.net/library/article/782/#Draft_Linked_Defect  Is  it javascript file  attachahed to project area. If yes, We are using process sharing concept that wont support attached script files.

https://jazz.net/forum/questions/9914/add-button-to-work-item-view

 With this link got confused.Is it done by server extensions/ or by configuration xml and java scripts.

https://jazz.net/library/article/537/ I think this applied for dynamic variable.

 I have pre defined value(http link), I just want to hide data and show some user friednly(click me) on view.


Lauren Hayward Schaefer commented Apr 15 '13, 7:17 a.m.
JAZZ DEVELOPER

Hi,

The link I posted is a little confusing as it starts in the middle of the page.  Start at the top: https://jazz.net/library/article/782. The article states "The first step in this customization process is to build the infrastructure so as to provide the custom Web Action with the described capability. We have to create an Eclipse Plug-in project and define an extension of com.ibm.team.workitem.web.editorToolbarAction ."  The extension is a server extension.  https://jazz.net/library/article/1000 has more information on creating and deploying server side extensions.

It's unclear to me what scenario you are trying to implement.  I believe there is a way to add help text to a work item by using a graphical question mark the user can hover over to get more information.  You may want to consider defining the scenario you want to implement in a new forum question.

Your answer


Register or to post your answer.