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

6 REPLIES 6
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.

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

Alice.

Thanks so much as well! Really helped.

PmabosH96
Frequent Visitor

I have the same problem 

The situation is that I have data table that take all its data from SharePoint list. If a choose one record i want the launcher to take me to its specific document and not on URL of the document library which contains all the word documents.

For example I have a data table which contains a lot of customers and I want if i choose one customer to be launched to his contract , to see his word document .

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (2,586)