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 (62.7k●3●36●43)
| 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
|
![]()
Ralph Schoon (62.7k●3●36●43)
| 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] |
![]()
Ralph Schoon (62.7k●3●36●43)
| 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. |