cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
aliceo
New Member

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

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

5 REPLIES 5
v-xida-msft
Community Support
Community Support

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.

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?

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

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

Alice.

Thanks so much as well! Really helped.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (53,091)