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

Customize Work Item screen to add a third party hyper link

I need the ability to add a third party URL as a hyper link in a workitem screen on RTC ccm web. The user should be able to click on it and traverse to the link page. Further, I would also like to pass query parameters i.e. construct it as a dynamic hyper link based on workitem attributes. Pls advise.

For example, I wanted to add something like this: <a href=http://mylink.com:8080/MyView.aspx?userid=myId>MyLink</a> so that it shows up as MyLink in Work Item screen. The user should be able to click on it and traverse to this page. Also, I would like to add additonal Query parameters apart from "userid" shown in the example. THe values for the same may come from work item attributes.

Kindly clarify approach

0 votes



One answer

Permanent link
One way you can do it is to do attribute customization - add a custom attribute with its value (the URL) being assigned by a Script-based Calculated Value. For more details, see the below links.
https://jazz.net/library/article/1003
https://jazz.net/wiki/bin/view/Main/AttributeCustomization

0 votes

Comments

Before going through the scripting, I tried providing Default Values (in Attrbute Customization) using Single-Line HTML / Multi-Line HTML provider options. The value specified is <a href="http://mylink.com:8080/MyView.aspx?userid=myId">MyLink </a>.I tried to associate both of these Default Value providers to Large HTML and Medium HTML types. But the same value with href tags is displayed before and after Saving. I would want it to show up the "MyLink" text as hyper link and not the "a href tags". I see that there is way to insert External link in Large HTML field on the screen by the way of user input. I need a similar functionality.Tried script based value provider with Large HTML. Provided the URL with href tags in dojo. No hyperlink display. <o:p> </o:p>

Before going through the scripting, I tried providing Default Values (in Attrbute Customization) using Single-Line HTML / Multi-Line HTML provider options. The value specified was <a href="http://mylink.com:8080/MyView.aspx?userid=myId">MyLink< /a>.I tried to associate both of these Default Value providers to Large HTML and Medium HTML types. But the same value with href tags is displayed before and after Saving. I would want it to show up the "MyLink" text as hyper link and not the "a href tags". I see that there is way to insert External link in Large HTML field on the screen by the way of user input. I need a similar functionality.Tried script based value provider with Large HTML. Provided the URL with href tags in dojo. No hyperlink display. <o:p> </o:p>

Is there a solution to this? Pls help

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
× 7,505
× 6,130

Question asked: May 25 '15, 12:12 a.m.

Question was seen: 3,821 times

Last updated: Jun 17 '15, 4:31 a.m.

Confirmation Cancel Confirm