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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Change hyperlink on Entity List column

(0) ShareShare
ReportReport
Posted on by 467

Hi All,

I am using PowerApps portals

How can I change hyperlink on Entity List column portal page

I am using one web page to show details from Entity List=======>Options======>Details settings

I want to create hyperlink for first column and want to redirect to different custom page

How can I achieve this.

Regards,

Babu

I have the same question (0)
  • Suggested answer
    LeoAlt Profile Picture
    16,331 Moderator on at

    Hi partner,

    Did you mean you want to click on the first column of entity list and then refresh the page? "You own page" is another custom page or the entity list itself(refresh the page)?

    pastedimage1589768972081v1.png

    If so, you need to add custom JS code in Entity List->Options->Custom JavaScript, and get the column of your entity list and add onclick event to it. Attention that in the portal, all entity list columns are shown as "a" tab in html code, so we could not use element.onclick function to add click event, we should use element.setAttribute() to add click event to "a" tab.

    For example I add an onclick event to my case list first column "Case Number".

    
    $(function(){
        setTimeout(function() {
            var diva=getElementByAttr('a','aria-label','Case Number');
            diva[0].setAttribute('onclick','alert(1)');
         }, 600);
    })
    
    function getElementByAttr(tag,attr,value)
    {
        var aElements=document.getElementsByTagName(tag);
        var aEle=[];
        for(var i=0;i

    pastedimage1589772292623v2.png

    pastedimage1589772324992v3.png

    You could replace your own action code to redirect to the page you want in my sample.

    Best Regards,

    Leo

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 58 Most Valuable Professional

#2
#ManoVerse Profile Picture

#ManoVerse 42

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 38 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans