Skip to main content
Nintex Community Menu Bar
Question

display a hyperlink in a table field

  • July 10, 2024
  • 7 replies
  • 6 views

Forum|alt.badge.img+6

I want to display a field in a table that has a hyperlink written into it.
similar to this: “Here is some information about <a id=“oppLink” href = ???>this; record.”
How do I get that to display with the actual hyperlink in my table?

7 replies

Forum|alt.badge.img+7

The best way I’ve found is to have Skuid build the link.

Set the column to display a template. Check “Allow HTML”. The template will look something like this:

<a href="/{{{Id}}}">{{Id}}</a>

Forum|alt.badge.img+6
  • Author
  • July 10, 2024

My issue is that the link I need is already built into the value of the field I’m referencing. I need to display the normal text parts as normal text and format the html that is in there already.


Forum|alt.badge.img+7

I don’t have a field like that to test with.  However, this is what I would try:

Set the column to template
Check “Allow HTML”

For the template, put the field that contains your link in triple curly braces (displays the content of the field without any Skuid interference)

{{{FieldWithLink__c}}}

If the field is not part of the same model used for the table, you’ll need different syntax.


Forum|alt.badge.img+6
  • Author
  • July 10, 2024

lol That’s what I tried right before I made this topic. 


Forum|alt.badge.img+7

Sounded good to me!  Hope someone else can lend a hand.  Good Luck, Jerry.


Forum|alt.badge.img+6
  • Author
  • July 10, 2024

SOLVED: I use a js snippet:

var params = arguments[0],
$ = skuid.$;

var row = params.row;

field.element.html(row.Error_Message__c);


Forum|alt.badge.img+4
  • July 10, 2024

Yes, the template approach works well.