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

URLs in custom work item fields of type mediumHtml

I wanted to include a custom work item field that can have a value that is a URL to an external document. I would like the value to be a clickable link in both the RTC client and the browser interface, and of course I'd like it to look right in the browser as well.

I am aware that external URL links can be created in the "links" section of a work item quite easily - and they also get formatted correctly and are clickable in both the RTC client and browser. However I wanted a custom field so that I would be able to search work items easily - I was not sure that this could be done when using the "Related artifacts" link approach. Please correct me if I am wrong though since that would solve my problem a different way.

I'm nearly there, but I can't get a regular URL to appear properly in the web-client.

This is an example of a value I set using the RTC client:

<a>00635,070,724</a>

The problem is that the last part of the URL gets somehow modified in the browser to read:

...OpenForm&.amp.d=00635070724

which causes the query to fail.

Note the "." after the ampersand and "amp". I've tried all the different combinations of "&", "&amp" and quoting of the value in the RTC client and I always seem to get extra "." in the browser links. I am not an HTML expert but have read that the correct way to include an ampersand in a URL was to use "&". As I say, I've tried as many different ways as I can think of to get it to work and failed.

I was also interested to see that even though I set the editor presentation for the field to be "smallHtml" the RTC client didn't display the value as a formatted link - in other words it displayed the HTML source for the link - but recognized it as a link and I am able to click on it.

Any help appreciated!

0 votes


Be the first one to answer this question!

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

Question asked: Feb 09 '09, 12:39 p.m.

Question was seen: 781 times

Last updated: Feb 09 '09, 12:39 p.m.

Confirmation Cancel Confirm