web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Displaying text from a...
Power Apps
Unanswered

Displaying text from a sharepoint list hyperlink column

(2) ShareShare
ReportReport
Posted on by 82

So I have a Sharepoint list with a column that is "Hyperlink" type, like this:

chrome_2020-01-01_15-23-31.png

And I can enter a link, and the text, like this:

 

 

chrome_2020-01-01_15-25-09.png

 

When I add a Display Form to a New Screen, and link it to my data source (which is the Sharepoint List), all I can get to display is the hyperlink, not the text that is associated with the hyperlink in the sharepoint form. 

2020-01-01_15-30-03.png

 

I've tried https://powerusers.microsoft.com/t5/Building-Power-Apps/Show-information-in-HTML-text-box/td-p/201942, https://powerusers.microsoft.com/t5/Building-Power-Apps/SharePoint-rich-text-field-as-HTML-text-in-PowerApps-incl/td-p/303592, and https://powerusers.microsoft.com/t5/Building-Power-Apps/HTML-Text-control-in-PowerApps/td-p/93667 which don't seem to really address what I'm trying to accomplish which is: 

 

is there any way to show the "Text" value from a Sharepoint List Hyperlink column, and allow the user to click on that text and open the true hyperlink?

Categories:
  • R3dKap Profile Picture
    1,594 on at

    Hello @tpcolson,

    I've made some tests on my side and checked the SharePoint connector reference and I'm afraid that it's the fault of the connector that transfers to Power Apps only the url and not the text associated with it.

    You might be able to retreive it using an API call through a flow though (haven't tested it).

    Emmanuel

  • v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi @tpcolson ,

     

    Yes, the hyperlink text description is not available in powerapps. you can get it through flow.

    Please check the following steps, the compose Experssion: 

    body('Send_an_HTTP_request_to_SharePoint')['d']['ColumnName']['Description']

    Snipaste_2020-01-02_13-48-45.png

    Test column is hyperlink typeTest column is hyperlink type

    Sik 

  • Zarathustra Profile Picture
    2 on at

    Requirement

    In a SharePoint List column where the column type is hyperlink, display the hyperlink text (e.g. "Link is here") rather than the hyperlink itself. A very obvious ask - but suprisingly, apparently not provided.

    Status

    If you are looking for a quick and simple way to do this, then it would seem that the answer is No

  • WarrenBelz Profile Picture
    156,940 Most Valuable Professional on at

    @Zarathustra ,

    Put a HTML Text control in the Data Card with this on it

    "<a href=" & ThisItem.HyperlinkColumnName & ">Link is here</a>"

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

  • rockSolid Profile Picture
    19 on at

    The simple solution is to format the column with JSON formatting. txtContent is text to be displayed, and @currentField is value of current field (link in this scenario).

    You first need to right click on column and choose format this column:

    rockSolid_0-1706851525779.png

    Then you click format column, paste code below and click save

    rockSolid_2-1706851678301.png

     

    {
     "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
     "elmType": "a",
     "txtContent": "DOWNLOAD",
     "attributes": {
     "target": "_BLANK",
     "href": "= @currentField"
     }
    }

     

     

     

    Here is how it looks like:

     Zrzut ekranu 2024-02-02 062253.png

     

    Hope it helps

  • Master355 Profile Picture
    4 on at

    It's a nice solution when hyperlink title is fixed.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard