Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Canvas with DataTable read data from SharePoint list and a column from SharePoint List which is multiline - HTML code when you press the link

(0) ShareShare
ReportReport
Posted on by 247

Hello,

 

i have a canvas with a DataTable which reads data from a SharePoint list. One of the columns is a multiline column with hyperlinks.

 

i had an issue that at the DataTable it was showing the HTML Code like below in the View column

 

Capture.PNG

 

that was resolved by marking the column as "isHyperlink" and also at the "text" putting: PlainText(ThisItem.View)

 

Capture.PNG

 

now when i press the View it doesnt do anything.

any suggestion?

 

thank you

  • kouliscon Profile Picture
    247 on at
    Re: Canvas with DataTable read data from SharePoint list and a column from SharePoint List which is multiline - HTML code when you press the link

    Wanted to pass another solution which i found which is at PowerApps Canvas form at the DataTable in order to make a column to have a link to another page then you do:

    • Select column and make “is Hyperlink” ON
    • on "OnSelect" you add the formula: Launch(("SiteWhereYouWantToGo?ID=") & DataTable.Selected.ID)
  • v-jefferni Profile Picture
    on at
    Re: Canvas with DataTable read data from SharePoint list and a column from SharePoint List which is multiline - HTML code when you press the link

    Hi @kouliscon ,

     

    With a Data Table control, you will not be able to achieve your need. Please consider use a vertical gallery instead. In the gallery, you could use a Label or Button with its OnSelect setting to Launch(ThisItem.Hyperlink) and Text propert setting to "View" or "Press HERE".

     

    Data Table control is basically used to DISPLAY data that in a table, it could not be interactive most circumstance.

     

    Hope this helps.

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • kouliscon Profile Picture
    247 on at
    Re: Canvas with DataTable read data from SharePoint list and a column from SharePoint List which is multiline - HTML code when you press the link

    one more question

     

    it now shows the complete link as i input the link and ID with a flow... 

     

    Capture.PNG

     

    any tricks suggestions to hide the link and have a text like "link" or "press here"?

  • Verified answer
    v-jefferni Profile Picture
    on at
    Re: Canvas with DataTable read data from SharePoint list and a column from SharePoint List which is multiline - HTML code when you press the link

    Hi @kouliscon ,

     

    Although you have changed the "IsHyperlink" property to true and this make the strings look like hyperlinks, it is still a Text column in the data source, you will not be able to clicking the fake hyperlink and open a new tab.

     

    The workaround is use the "Hyperlink" type column in your SP list. This type of column would directly show clickable hyperlinks in the Data Table control.

     

    Hope this helps.

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,603 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,946 Most Valuable Professional

Leaderboard