Rational Team Concert - Calculated Value - Insert link in a html field
2 answers
Yes, HTML attributes are supported when using JavaScript. It is basically filled with a string. See https://jazz.net/wiki/bin/view/Main/AttributeCustomization and https://jazz.net/library/article/1093 (Lab 4 and 5) for some hints.
Comments
1 vote
I have looked into that again recently and here is the catch.
When using the JavaScript API, the provider returns a string. When returning a string, all XML characters are escaped. So it is essentially not possible to create a link in any HTML attribute, including the description.
In the Java API, it is possible to use an XMLString to create the content from XML, which can contain the HTML tags for a link and set that, but it is not possible from JavaScript.
When using the JavaScript API, the provider returns a string. When returning a string, all XML characters are escaped. So it is essentially not possible to create a link in any HTML attribute, including the description.
In the Java API, it is possible to use an XMLString to create the content from XML, which can contain the HTML tags for a link and set that, but it is not possible from JavaScript.