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

Community site session details

Session Id :
Power Apps - Building 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
    151,951 Most Valuable Professional on at
    Re: Hyperlink in Model Driven View and Forms

    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
    Hyperlink in Model Driven View and Forms
    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

Coming soon: forum hierarchy changes

In our never-ending quest to improve we are simplifying the forum hierarchy…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 651 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 385 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 230 Super User 2025 Season 2

Last 30 days Overall leaderboard