Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Adding custom links in RTC workitems and add custom handlers on its double click

I want to add custom links (just like workitems) in the Links section of a workitem. On clicking them, I want to open their respective editor.

How do I create custom entries in the Links section, and how do I add items' listeners ?

0 votes


Accepted answer

Permanent link
creating new linktypes requires building a plugin that must be installed on the server (for web view of the link)
and every eclipse client (for eclipse view of the link)..

see

Contributing a Link Type

in https://jazz.net/wiki/bin/view/Main/ProgrammaticLinkCreation


please explain the 'their respective editor'..
Atul Kumar selected this answer as the correct answer

2 votes


One other answer

Permanent link
Thanks Sam for the link...

...by "their respective editor", I meant, that I should be able to invoke my own handler on click of the newly created link. To be more precise, I want to open my own custom editors for those custom links to be opened when clicked from RTC (from inside those handlers).

0 votes

Comments

ok, question.. why the custom 'editor'?  they are still workitems on each end of the link.

the only documented support for creating a new workitem 'editor' in eclipse or web.
is by adding fields and screen layout (tabs). If you created a completely new layout, it would have to be connected to a unique workitem type to use it.

I did all that for a Deliverable workitem to replace the elements in the Release table. 

something to note:
adding a new linktype to the server makes it system wide.. ALL projects and all workitems get it.. you cannot focus it on one project and workitem type.

Custom editor,  because I'm not working with workitems. I'm working with review items, which are part of another product which is under development.

Thanks for that update. I am not aware of any support for creating a completely new content editor. 


Also, far as I know, there is no support for adding a new datatype to the system (I tried this too)..  you can add a new type of 'workitem' but its still constrained by workitem symantics

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,939

Question asked: May 30 '14, 5:22 a.m.

Question was seen: 4,430 times

Last updated: Jun 02 '14, 6:49 a.m.

Confirmation Cancel Confirm