Skip to main content

Notifications

Announcements

No record found.

Service | Customer Service, Contact Center, Fie...
Suggested answer

Change default webpage for logged in user in Portal

Posted on by 40

Hi,

Is it possible to change the default webpage when a user has logged in portal ? 

Can you explain me the working process to achieve that ? 

Any suggestions will be helpful.

Regards

Alex

  • Suggested answer
    LeoAlt Profile Picture
    LeoAlt 16,329 on at
    RE: Change default webpage for logged in user in Portal

    Hi Partner,

    You could follow these steps.

    1.Go to Portal Management->Web Template->Home, find the home page in your website, and add this code at the beginning of the source code.

    pastedimage1602658581077v1.png

    {% if user %}
    <script type="text/javascript">
    window.location.href = "/support";
    </script>
    {% endif%}
    2.Go to SiteSettings->Authentication/Registration/ProfileRedirectEnabled and set it to false.
    pastedimage1602658663875v2.png
    3.Add the three fields on to your contact form, and set "Profile Alert" to No, and make sure other two fields have value.
    pastedimage1602658737075v3.png
    Then after you login the portal successfully, it will redirect to support page directly.
    pastedimage1602658773034v4.png
    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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans