Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Hide Sign in Page in CRM portal

Posted on by 105

Hi All, 

Is there a way by which i can hide the sign in page in crm portal so that everytime user is taken to the registration page first. Or is there a way by which i can change the portal behaviour to land on registration page instead of sign in page when i click Sign in. Any help would be much appreciated.

*This post is locked for comments

  • RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Hide Sign in Page in CRM portal

    Glad you got the solution :)

  • RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Hide Sign in Page in CRM portal

    Then you need to implement changes on your check-list page. Could you plese share some more details on your check list page? Is it based on a web template or it is showing entity form, entity list.

  • edev Profile Picture
    edev 105 on at
    RE: Hide Sign in Page in CRM portal

    Hi Ravi,

    i got the solution from you above reply. I have been making it complicated i guess. On submission of that page i gave the above code and it work the way i expected. Thanks a lot for your help.

  • edev Profile Picture
    edev 105 on at
    RE: Hide Sign in Page in CRM portal

    Hi Ravi thanks for the quick response. Actually my requirement is i have a checklist page which gets redirected from an external url and on submitting the checklist it redirects to a webpage which requires authentication. On clicking submit from the checklist page it  opens up the sign in page but instead i want to redirect the users to register page.

  • Verified answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Hide Sign in Page in CRM portal

    Hi,

    As far as I know, portals default page is home page not sign in page i.e. when you access your portal URL https://<your_portal_url>, it always takes you to home page firs. There you can add a logic to check if it the user is already logged in or not, if not redirect it to register page.

    You can update the Home Page Web Template and add the below liquid syntax at the top-

    ==============

    {% block main %}
    {% if user.id == null %}
    <script>window.location = '/account/login/register';</script>
    {% endif %}
    {% endblock %}
    ==============
    Hope this helps.

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,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans