Hello.
I am trying to create a dataverse table to populate as list in a Power Page. In this list I am trying to add a couple of columns, one being a URL. But instead of displaying the full URL, how do I embed that URL into text?
For example instead of the field showing https://www.widgets.com I would like it to read Widgets Page with a url embedded to it. I haven't been able to find a solution for that, and it would seem like something very standard or easy to do.
Thanks so much.
Hey @jakesh
You can achieve this via JavaScript once you add your list to a web page.
In Portal management
1. Under content > Web page > choose your web page
2. localized content > Advanced > Custom Javascript
3. Place and tweak the JS as per the below thread.
Hope it helps.
------------
If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.
@ragavanrajan Thanks so much for your response.
I replaced the the following but didn't work for me. What do you think I am missing or what else do I need to replace in this code to make it work?
Hi @jakesh
Please post your console log messages here. Can you check console.log line is printing? Should be easy to fix if console.log is printed.
Hope it helps.
------------
If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.
@jakesh can you share the entire code?
also are the URLs external or internal? if they are internal I am wondering if you should be looking at SiteMarkers instead
Power Pages Super User | MVP