Add hyperlink to the custom attribute value
Hi,
We have added a attribute for defect work item and made it read-only. Now we want to display the value for this field and add a hyperlink to this. How do we do the same? please let us know the steps |
One answer
sorry, there are many questions we don't yet understand..
hyperlink = what application will use this? a browser does not autofollow links. RTC doesn't provide direct access via link to a single value. it provides link to a workitem, which contains values that would need to be extracted to be displayed. (if you don't request the mini viewer workitem contents) how did u want to display the value of the field? the application UI presents the value as a linkable entity on the application generated html page. if the user does not click on the underlying link, then it is just text on the page. if the user does click on the link, what do you expect to happen. or hover on the link, is there a different expectation? |
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.
Comments
To get better answer, you may want to provide some more information like what is the version of RTC, is this attribute a list , does the value changes on any condition or is this like a static text/link etc.
this will be static link, which will be updated once by taking value from the 3rd party tool using oslc concept
We have added a custom attribute in the defect work item. We want to display a value for this field which comes a third party tool and display the value with the hyperlink which will take us to the third party tool on click of the value in this custom attribute. Please let me know how can the same be achieved.
Ah, ok, much clearer..
the custom attribute must be html type,
then populate it with the link html <a href='whatever'>text to display</a>