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 :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Hide Web Link of Navigation Bar in D365 portal

(0) ShareShare
ReportReport
Posted on by

Hi All,

I've a business logic to have two profile page where one is Out of the box profile while the other one is custom profile page. Here, I would like to hide/show one page at a time and show two page simultaneously. Initially, i tried to hide custom profile page with Content Access Rule and Web Role by following these steps,

  • Create a content access rule for web page that is being shown as Link from Navigation bar
  • Create a web role and associate it to to the web page. 

However, when the user is logged into portal and assign the web role I created, it didn't work for me. 

Could anyone please help me how to implement this. 

Thank you,

Leo Fernandas

I have the same question (0)
  • Suggested answer
    Adam Pfau Profile Picture
    265 on at

    I dont know that approach will work as there is a link to the page in the header, but I have not tested.  

    1.  The link itself is controlled in the header web template and directs to the profile site marker.  You could create a second site marker ex. Profile2 and link to your custom page.  Then adjust the liquid else if to display the page.  

    {% endif %}
    {% else %}
    <li role="none"><a role="menuitem" aria-label="{{ snippets["Profile Link Text"] | default:resx["Profile_Text"] | escape }}" href="{{ sitemarkers['Profile'].url | escape }}">{{ snippets["Profile Link Text"] | default:resx["Profile_Text"] | escape }}</a></li>
    {% endif %}
    <li class="divider" role="separator" aria-hidden="true"></li>
    <li role="none">
    <a role="menuitem" aria-label="{{ snippets["links/logout"] | default:resx["Sign_Out"] | h | escape }}" href="{% if homeurl%}/{{ homeurl }}{% endif %}{{ website.sign_out_url_substitution }}" title="{{ snippets["links/logout"] | default:resx["Sign_Out"] | h | escape }}">
    {{ snippets["links/logout"] | default:resx["Sign_Out"] | h | escape }}

    2.  You could also add JS to to the page to rewrite the URL.  

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 137 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 57

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans