web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

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

(0) ShareShare
ReportReport
Posted on by

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

I have the same question (0)
  • Verified answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    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!

  • Verified answer
    gdas Profile Picture
    50,091 Moderator on at
  • Suggested answer
    Community Member Profile Picture
    on at

    Hello Reventh

    you should go with Ravi Kashyap suggestion

  • Community Member Profile Picture
    on at

    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
    RaviKashyap Profile Picture
    55,410 Moderator on at

    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
    on at

    Thank You, Ravi Kashyap.

    It really helped me to figure the way out.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans