Hi, I am trying to add JS to one of the default header links to get the login user email address, how can I add that? The link is in web link sets
Announcements
Hi, I am trying to add JS to one of the default header links to get the login user email address, how can I add that? The link is in web link sets
Hi @sdnd2000
Try this
In Portal Management:
1. Under content > Web pages > Home
2. Localized Content > Home
3. Advanced > Custom JavaScript
Add your script here
// $( document ).ready(function() {
// console.log(555,"Redirect check");
// $(location).attr('href', 'https://yourportal.powerappsportals.com/contact-us/');
// });
4. Hit Save and Close
------------
In Portal studio
1. Pres sync configuration and browse the website. And press "Ctrl+F5"
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.
Lucas001
60
Super User 2025 Season 1
Fubar
55
Super User 2025 Season 1
surya narayanan
35