cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mjburley
Resolver II
Resolver II

Clickable text field in data table in power app

I have a Data Table on my canvas app that has a few fields loaded from a Sharepoint List.

 

One of these fields is a URL (to a Teams link). As these links to Teams are very, very long I cannot use the hyperlink field as it is limited to 255 characters, so I have to use a multi-line text field.

 

I bring this into my data table view, but I cannot make the link clickable. Well, it appears clickable but it does not click.  If I am in an HTML text field, I can use "<a href=" & TeamsURL & ">"& Product & "</a".

 

But how can I use this in a data table view where there are multiple lines and each one should click through to the right URL. I have tried syntax like the above and the onLaunch but I can only make it work by hardcoding a URL, not dynamically.

 

Help ! Image of data table attached if it is not clear...

1 ACCEPTED SOLUTION

Accepted Solutions
v-siky-msft
Community Support
Community Support

Hi @mjburley ,

 

Try to set IsHyperlink property of Teams Link column to true, and set OnSelect property as below:

 

Launch(DataTable1.Selected.'Teams Link')

 

Then, the Teams Link Column just acts like HyperLink.

Sik

View solution in original post

1 REPLY 1
v-siky-msft
Community Support
Community Support

Hi @mjburley ,

 

Try to set IsHyperlink property of Teams Link column to true, and set OnSelect property as below:

 

Launch(DataTable1.Selected.'Teams Link')

 

Then, the Teams Link Column just acts like HyperLink.

Sik

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Users online (3,691)