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 / Hyperlink in Model Dri...
Power Apps
Unanswered

Hyperlink in Model Driven View and Forms

(0) ShareShare
ReportReport
Posted on by 10

Hello,

 

I would like to save a clickable hyperlink link text field in Dataverse and display it in views and forms.

The link type just accepts full URLs.

Is there a way to do that?

 

 

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    155,350 Most Valuable Professional on at

    Hi @PowerAppsCom1 ,

    You need a HTML Text Control with (put whatever you want in click here

    "<a href='" & TextFieldHere & "'>click 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

     

  • CU19111807-0 Profile Picture
    2 on at
    There's more to it than the previous post. This worked for me as an HTML Web Resource.

    <html>
    <head>
        <meta charset="utf-8" />
        <script>
            function onLoad() {
                var url = parent.Xrm.Page.getAttribute("mod_url")?.getValue();
                if (url) {
                    document.getElementById("maskLink").innerHTML =
                        "<a href='" + url + "' target='_blank'>Click Here</a>";
                }
            }
        </script>
    </head>
    <body onload="onLoad()">
        <div id="maskLink">No URL found</div>
    </body>
    </html>
     
    mod_url is the logical name of the url field

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 875

#2
Valantis Profile Picture

Valantis 530

#3
11manish Profile Picture

11manish 432

Last 30 days Overall leaderboard