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

How to add a hyperlink text on an RTC workitem

I would like to add a hyperlink text/label on our RTC Defect form which user can click and it would take them to an external page where we have some defect guideline posted.
How do I achieve this?

0 votes


Accepted answer

Permanent link
Under "Defect" Workitem presentation ==> You can directly add "Non-Attribute-based presentation" ==> Kind ==> "Static Rich Text" and in "Text"  you can add your url some thing like below
Guidelines: ☁ https://mycompany.com/wiki/RTCGuidelines#Defect

Now create a defect and check.
Rohit Rishabh selected this answer as the correct answer

2 votes

Comments

Nice option as well.

Hi Mohan - It looked as a simple solution, but when I tried it and added a text like https://xyz.com/wiki/guideline.aspx , it appeared as a plain text and not as a hyperlink on the defect form, which means user need to copy the text and paste on a browser to go to the page.
I am looking for a solution where the text on the defect form has the hyperlink to the target page and does not appear just as a plain text.

Try to create the haperlink somewhere and copy /paste it

Did not work. I typed a text Guideline in MS Word and added a hyperlink to an external site, then copy the text and paste in the Text section of ht e Static Text presentation, all it pasted was a plain Guideline with no hyperlink.

 Rohit,

            Sorry, You have to use "Static Rich Text" instead of "Static Text" in Non-Attribute based presentation. This will solve your hyperlink issue.

1 vote

@rpmraj Awesome! Worked perfectly as I needed. Thanks a ton :)

I agree with the Answer from Mohanraj Ragupath Thank you Mohan

showing 5 of 7 show 2 more comments

3 other answers

Permanent link
You can do it using the Wiki data type to the attribute. So, you can use the wiki markup language to create links.

https://jazz.net/library/article/1003/

0 votes

Comments

Also, if you use the HTML data type, you can use links too.

Thanks Tiago,
Can you elaborate the steps for using HTML data type?
I see Large and Medium HTML attribute type, which one should I use?
Where to add target URL in the attribute?
I am using CLM 6.0.1

You can use any HTML size, it only defines how much chars it could keep.

Follow this steps:

1 - create a attribute with the HTML type
2 - associate the attribute with a Defect work item type
3 - put the attribute visible on the defect work item presentation


After that, when you create a new Defect you can fill the attribute with something like: http://mysite.com and it will be highlighted as a hyperlink.

Tiago  - I am looking for a solution where the predefined link text appear on a defect form as a part of default attributes and not something that a user need to fill while creating a defect.


Permanent link
Please note, if you want to use some attribute customization, you can use the built in single line or multi line HTML attribute customization. See
  Lab 4.

However, as far as I know, JavaScript attribute customization won't work. I have never been successful with setting HTML from JavaScript attribute customization, as the tags seem to get escaped out and don't work any more.

0 votes

Comments

Ralph - I noticed a non attribute-based presentation called  "Type Description" below the work item type attribute on defect workitem, which is a Static Rich Text kind and it has a hyper linked text called Type Description under Rich Text section which points to the defect workitem practice element url of the process description of the project area.

I can create another element in the process description with the guidelines, but how do I add it's url to a new non-attribute based presentation of static rich text. I tried adding but the rich text appears a plain text on the form (In the web client).


Permanent link

Hi Rohit,

I am trying to achieve the same, a Predefined hyperlink in a workitem. Were you able to make it possible. I tried Static Rich Text which works in the client but not on Web UI.

0 votes

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
× 6,126

Question asked: Mar 23 '16, 5:23 p.m.

Question was seen: 5,549 times

Last updated: Mar 21 '18, 3:28 a.m.

Confirmation Cancel Confirm