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 / Hyperlinks for some in...
Power Apps
Unanswered

Hyperlinks for some intranet sites work on HtmlText control under a screen, but not under a gallery

(0) ShareShare
ReportReport
Posted on by 21

I am getting a prefix before the intranet site when clicking from a hyperlink in a HTMLTEXT under a gallery, but work on HTMLTEXT control under a screen.  Can I adjust any settings in the Power Apps to avoid the wrapper?

This authoring.us-il101.gateway.gov.island.powerapps.us page can’t be found

No webpage was found for the web address: https://authoring.us-il101.gateway.gov.island.powerapps.us/v3.23122.17.281511999/embed/(https://.../faces/ViewDocument?documentId=343450902b0010)

HTTP ERROR 404
Categories:
  • ANB Profile Picture
    7,252 Super User 2026 Season 1 on at

    Hi @wild2023 , Could confirm the code that you have used or screenshot? This is how it should work for example:

     

    "<a href=""https://www.google.com"">Google<a/>"

    ANB_0-1703856527365.png

     

     

    -----------------------------------------------------------------------------------------------------------------------------

    I hope this helps.

    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.👍

    Thanks,
    ANB


     

  • wild2023 Profile Picture
    21 on at

    Hi, @ANB 

    Yes, I used the same code, both work on google.com, but not some intranet sites, don't know what is going on the HTMLTEXT behavior differences under a gallery and a screen.

  • ANB Profile Picture
    7,252 Super User 2026 Season 1 on at

    Hi @wild2023 , When you say intranet site, is any SharePoint site? You mentioned that you have used within gallery, so do you mind sharing more on gallery or some screenshot with code?

     

    Thanks,

    ANB

  • wild2023 Profile Picture
    21 on at

    Hi, @ANB 

    they are not SP sites. Look like there is a problem when links are from a collection, it doesn't matter it is a gallery, nested gallery or HTMLTEXT. 

    DO NOT WORK:

    1. gallery's HTMLTEXT:  ThisItem.Communications (links inside)

    2. nested gallery's HTMLTEXT: 

    " <a href= "& ThisItem.'Document Link' & " style='Color:blue' > " & Text(ThisItem.'Communication Date',"mm-dd-yyyy") & " </a>"
    3. HTMLTEXT under screen: 
    "<table border='1' width='100%'>" &
    "<thead><tr><th>Link</th><th>Title</th></thead>" &
    "<tbody>" &
    Concat(collection1, "<tr><td>" & Communications & "</td><td>" & Title & "</td></tr>") &
    "</tbody></table>"
    Only work hardcoded as below for HTMLTEXT under a screen:
    "<table border='1' width='100%'>" &
    "<thead><tr><th>Name</th><th>Age</th></thead>" &
    "<tbody>" &
    "<tr><td><a href=""https://.../ViewDocument?documentId=090234234325b0010"" style='Color:blue'>click</a></td><td>" & "Title" & "</td></tr>" &
    "<tr><td><a href=""https://.../ViewDocument?documentId=09057434560010"" style='Color:blue'>click</a></td><td>" & "Title" & "</td></tr>" &
    "</tbody></table>"
  • ANB Profile Picture
    7,252 Super User 2026 Season 1 on at

    @wild2023 , Could you please help more on data source of gallery and also some screenshots. Because this is pretty straight forward code for href.

     

    Thanks,

    ANB 

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

    @wild2023 ,

    You are missing quotes around the URL

    "<a href='" & ThisItem.'Document Link' & "'style='Color:blue'>" & Text(ThisItem.'Communication Date',"mm-dd-yyyy") & "</a>"
  • wild2023 Profile Picture
    21 on at

    @WarrenBelz 

    It doesn't make any difference, but thanks!

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 394 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 324 Most Valuable Professional

Last 30 days Overall leaderboard