
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
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)?
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


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