Announcements
Hi all,
I want to remove my home page ( landing page) and add the registration page as a landing page.
Currently, I do not check the user has a login on the website. They are automatically redirected to the home page URL. But I need to redirect on the registration URL. I do not need to check the user has a login on the website.
Home URL: https://XXXX.powerappsportals.com/en-US/
Registration URL: https://XXXX.powerappsportals.com/en-US/XXXregistration/
Thank you.
Kind Regards,
Dipen
Hi patel,
Here are the steps.
1.Get your portal registration page url.
In my case, it's xxx.powerappsportals.com/Account/Login/Register?returnUrl=/ ("%2F" decode is "/")
2.Create a new web template, and add the following code in it.
{% if user %}
<script>
window.location.replace('');
</script>
{% else %}
<script>
window.location.replace('/Account/Login/Register?returnUrl=/');
</script>
{% endif %}
3.Go to Page Templates, find "Home" and change its web template to your new web tempalte.
4.Wait a second and refresh your portal, you will find that your portal home page(landing page) has changed to registration page.
Regards,
Leo
Hello partner,
Thank you for a reply to my thread. The link you provide in this tread. That is not the same as I am looking to solve my issue.
I need to remove the home page and set the registration page as a landing page in the dynamic 365 portal.
Thank you.
Kind Regrads,
Dipen
André Arnaud de Cal...
294,069
Super User 2025 Season 1
Martin Dráb
232,858
Most Valuable Professional
nmaenpaa
101,158
Moderator