clickable link not working from hub

Hi @knime

I was trying this workflow for creating a clickable link. The workflow works fine in AP. However, in the hub portal, the link are working and they are appear as string.

Create hyperlinks in Table View – KNIME Community Hub

Do we need to make any configuration changes or enable setting to have the clickable links.

Thanks and Regards
Deepak

Hey @Deepak261291,

With 5.2.x we introduced sanitisation in all of our views per default. While this will improve security it also killed some use cases where code/html execution was actually wanted. We introduced safer and hopefully easier ways to embed links into our table. This will only work for the new table view and not for the Table View (JavaScript). See the attached workflow for an example.

Hope this helped,
Daniel
LinksInTable.knwf (73.5 KB)

@DanielBog

Thanks for the information.
Can you share the expression for Column expression node. It is showing me blank:
My KNIME version is 5.2.x and the shared workflow is created at 5.3.

Hey @Deepak261291,

the used expression was: htmlLink("link to knime", column("column1"))
Did you pull in a new expression node? I just want to understand why the expression has vanished :open_mouth:
Make sure that the type of the expression is set to HTML.

Greetings,
Daniel

2 Likes

Hi @DanielBog
I tried to open the workflow in 5.2.1 but the column expression node shows me as blank.

Also one thing I noticed that the htmlLink() function and HTML type is not available in 5.2.1 for column expression.

How can use the similar functionality in 5.2.x.

Thanks and Regards
Deepak Chandra

Hey @Deepak261291,

It might be that you are missing the KNIME Reporting extension. Can you verify that you have installed this extension and see if this resolves your problem?

Greetings,
Daniel

2 Likes

Hi @DanielBog
You are right :slight_smile: . The extension was missing. Now the link is working fine.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.