Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Dynamics Portals : Hide Navbar buttons and display them dynamically when event occurs.

Posted on by Microsoft Employee

I am working on project (Dynamics 365 Portals), where i need to have Navbar buttons like(Contacts, Customers, Properties etc) only after sign-in or after registering to the portal but those were displaying even before sign-in as i included them using content snippets of home page(as seen in the image). 

08302.Capture.PNG

As i am new to crm portals please some guide me for this scenario.

Thank You in advance.

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamics Portals : Hide Navbar buttons and display them dynamically when event occurs.

    Thank You, Ravi Kashyap.

    It really helped me to figure the way out.

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Dynamics Portals : Hide Navbar buttons and display them dynamically when event occurs.

    In your question, you said after sign in. I dont think thwre is any easy way or configuration to hidw it on form submit. You may need to write additonal javascript qhich qould nit bw easy unless you hace already familiar with javascript on portal (and not crm js)

    Hope this helps.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamics Portals : Hide Navbar buttons and display them dynamically when event occurs.

    Hi Ravi Kashyap,

    Thanks for your response.

    But I need to display the buttons only after submitting a particular form, not immediately after sign-in.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamics Portals : Hide Navbar buttons and display them dynamically when event occurs.

    Hello Reventh

    you should go with Ravi Kashyap suggestion

  • Verified answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: Dynamics Portals : Hide Navbar buttons and display them dynamically when event occurs.

    Hi Revanth,

    You may get help from below reference . Hope this helps

    nishantrana.me/.../hide-a-primary-navigation-link-using-web-page-access-control-rule-in-portals-in-dynamics-365

    www.inogic.com/.../hide-external-links-in-microsoft-dynamics-crm365-portal

  • Verified answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Dynamics Portals : Hide Navbar buttons and display them dynamically when event occurs.

    Hi Revanth,

    You need to create the web roles & set the Web Page access control to restrict the web page access.  

    Refer this:

    community.dynamics.com/.../hide-a-primary-navigation-link-using-web-page-access-control-rule-in-portals-in-dynamics-365

    docs.microsoft.com/.../webpage-access-control

    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,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