cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
aliceo
Level: Powered On

Data table "is hyperlink" button

Hi,

 

I've got a data table in my PowerApp form, which displays a list of equipment from the selected site. I've turned the "Is hyperlink" option in the second column on, and was expecting it to take me to the relevant equipment item when I clicked on it. However, although it looks like a hyperlink when I use the form, when I click on it nothing happens. Have I missed something vital? Does this work for anyone else?

 

Eagerly awaiting any advice!

Alice.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support Team
Community Support Team

Re: Data table "is hyperlink" button

Hi @aliceo ,

Do you want to create a column on your Sharepoint list that actually points to the corresponding item in your SP list?

 

The 'Link to Item' column value would be populated by SharePoint server automatically when you add a new record in your SP list. If you want to create a column on your Sharepoint list that actually points to the corresponding item in your SP list, I afraid that there is no way to achieve your needs in SharePoint list currently.

 

Actually, it is not necessary to add another column to store the "Link to Item" value in your SP list, you could perform the following formula within any columns in your Data Table control:

Launch(DataTable1.Selected.'Link to item')

please set the OnSelect property of the second column in your Data Table to following:

Launch(DataTable1.Selected.'Link to item')

Note: The 'Your Second Column' I mentioned within previous reply is actually the 'Link to Item' column in your SP list. I assumed that your second column in your Data Table is the "Link to Item" column.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
Community Support Team
Community Support Team

Re: Data table "is hyperlink" button

Hi @aliceo ,

Could you please share a bit more about the second column that you mentioned within your Data Table control?

Could you please share a bit more about your data source? Is it a SP list? Is the second column that you mentioned is the 'Link to Item' column?

 

Based on the issue that you mentioned, I think you have something misunderstanding on the "Is Hyperlink" property of columns of the Data Table control.

The "Is Hyperlink" property of columns of Data Table control would recognize if a column in your Data Table is a Hyperlink column. When you set the "Is Hyperlink" property of columns of Data Table control to true, it just recognize this column as Hyperlink, but not have Hyperlink functionality (click it to navigate to open corresponding web page).

As an alternative solution, I think the Launch function could achieve your needs. I have made a test on my side, please take a try with the following workaround:7.JPG

Set the OnSelect property of the second column in the Data Table control to following:

Launch(DataTable1.Selected.'Link to item')

Note: The data source in my Data Table is a SP list.

On your side, you should type:

Launch(DataTable1.Selected.'Your Second Column')

More details about the Launch function in PowerApps, please check the following article:

Lauch function

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
aliceo
Level: Powered On

Re: Data table "is hyperlink" button

Hello,

Thank you so much for replying. What you are saying makes perfect sense. However I still have a problem...

My data source is a Sharepoint list. I've now re-arranged it so that the link on the DataTable uses the "Link to item" column. However, my link to item column is just a field called "Equipment title" so the "Launch" function doesn't work as it's not a url. Do you know how I create a link in a column on my Sharepoint list that actually points to the item? Is there a simple way to construct it?

Highlighted
Community Support Team
Community Support Team

Re: Data table "is hyperlink" button

Hi @aliceo ,

Do you want to create a column on your Sharepoint list that actually points to the corresponding item in your SP list?

 

The 'Link to Item' column value would be populated by SharePoint server automatically when you add a new record in your SP list. If you want to create a column on your Sharepoint list that actually points to the corresponding item in your SP list, I afraid that there is no way to achieve your needs in SharePoint list currently.

 

Actually, it is not necessary to add another column to store the "Link to Item" value in your SP list, you could perform the following formula within any columns in your Data Table control:

Launch(DataTable1.Selected.'Link to item')

please set the OnSelect property of the second column in your Data Table to following:

Launch(DataTable1.Selected.'Link to item')

Note: The 'Your Second Column' I mentioned within previous reply is actually the 'Link to Item' column in your SP list. I assumed that your second column in your Data Table is the "Link to Item" column.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

aliceo
Level: Powered On

Re: Data table "is hyperlink" button

Thank you so much, this works perfectly. I really appreciate your help.

Alice.

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 133 members 5,252 guests
Please welcome our newest community members: