cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Community Support
Community Support

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

5 REPLIES 5
Highlighted
Community Support
Community Support

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.
Highlighted
New Member

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
Community Support

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

Highlighted
New Member

Re: Data table "is hyperlink" button

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

Alice.

Highlighted
Frequent Visitor

Re: Data table "is hyperlink" button

Thanks so much as well! Really helped.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,670)