It's all about the answers!

Ask a question

Is there a to enable a hover capability on the RTC side for a custom attribute field which is html?


Mark Schulte (111) | asked Oct 22 '12, 7:55 a.m.

We implemented a custom field in RTC to hold a link to peer review record that we store in another tool.  That tool has a link back to the RTC work item and is able to support a hovering capability.  But we would like the RTC custom html attribute ("Peer Review" in this case) to also support a hover capability (i.e. to request preview data from our tool's REST interface).  Is there a way to engage that?  I'm not sure if getting RTC to do this would have been easier if we were using the Links tab,  but we did not want to create a plug-in for our custom data at this point. 

However, it might be possible that we would be amenable to just using the Related link to connect to our tool if that is doable and if it would provide the ability to hover and get data from our tool.  If that is doable, could you point me to some appropriate places that might discuss this (setting up the link and enabling a hover capability on the link)

2 answers



permanent link
Ralph Schoon (63.0k33645) | answered Oct 22 '12, 10:49 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Mark,

it is possible to create a custom link type. I searched the internet for 'custom link type site:jazz.net' and found several discussions.  I found a lot also using  'custom link type' in the search window of this web site https://jazz.net/search_results.jsp?q= .

Interesting results:
https://jazz.net/forum/questions/79130/creating-a-custom-rtc-work-item-link-type-without-creating-a-plugin and https://jazz.net/forum/questions/83855/rtc-custom-linktype-not-possible-to-select-linktype-during-work-item-creation have a link to https://www.ibm.com/developerworks/mydeveloperworks/blogs/extendingrtc/entry/newlink?lang=en which describes the process. There are also some hints in the Wiki: http://jazz.net/wiki/bin/view/Main/LinkTypeRegistry and http://jazz.net/wiki/bin/view/Main/ProgrammaticLinkCreation .

I don't know if this would provide a hover.

permanent link
sam detweiler (12.5k6195201) | answered Oct 22 '12, 11:41 a.m.
edited Oct 22 '12, 11:42 a.m.
but be careful. custom link types are SERVER wide, not project and not workitem.

so, once you install the plugin (and u have to do it everywhere, all clients and all servers) it shows up everywhere.
I provided some code back to enable selective visibility of custom linktypes. (mine was a  defect<->delivery workitem)

and we still haven't found a way to use/detect/report on them from the warehouse or a plain java client application.

Sam

Your answer


Register or to post your answer.