Displaying a hyperlink with text instead of the URL, via calculated value
Hi, I would like to generate the content of an HTML custom attibute, using Attribute Customization > Calculated Value. I want the field to contain a hyperlink, which would display a clickable text instead of the URL (e.g. display "Google" instead of www.google.com).
I know it is possible for users to generate this link manually via the "Insert External Link" in the WebUI toolbar. How can I do that with calculated value?
Note that I only use the WebUI, v3.0.1.2.
Thanks!
|
Accepted answer
Ralph Schoon (63.4k●3●36●46)
| answered Sep 14 '16, 7:15 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Dec 08 '17, 8:55 a.m. This has been discussed in several other questions. Here the answer as it is:
Ralph Schoon selected this answer as the correct answer
Comments Using the Wiki Syntax, you can use a Wiki type attribute and create a valid HTML link there. http://wikicreole.org/ explains the supported syntax.
|
6 other answers
|
I have tried to set a custom HTML attribute with the default value:
The presentation is also HTML. But the text displays as above (including visible HTML tags), with the URL part automatically converted to a link. So this does not work for me...
Comments I tried using Attribute customization and using a script. I see the same you see.
Martin Muellenberg
commented Dec 10 '13, 8:42 a.m.
I also can not get the link text to be displayed instead of the actual link location, neither with Wiki nor with an HTML attribute. Any news with regard to this?
|
Ralph Schoon (63.4k●3●36●46)
| answered Nov 16 '12, 7:18 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Nov 16 '12, 7:21 a.m.
I used a script to peek and the text it uses for a hyperlink is unsurprisingly HTM syntax:
[a href="someURL"]Some Text[/a] |
If I export the content of the attribute in plain text it only shows the text, not the link...
Comments Have you tried to use the API to get the content?
Thibault Leclercq
commented Nov 16 '12, 5:58 a.m.
I don't use / know how to use the API... |
Ralph Schoon (63.4k●3●36●46)
| answered Nov 16 '12, 5:27 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi,
I would suggest to get the content of such an example attribute and look at the syntax in the plain text. |
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.