Skip to main content
Community site session details

Community site session details

Session Id : C3PyBuz0KcBCXPRR4Ar9st
Power Pages - General Discussions
Unanswered

How to remove sub page form the navigation in power pages

Like (0) ShareShare
ReportReport
Posted on 23 Oct 2023 10:32:30 by 24

Hello Everyone,

I have created a MyAccount page and inside this, I want two sub-pages (my invoice and my order), but when I added these sub-pages my account page was also added which I don't need. Is there a way to remove it?

Categories:
  • OOlashyn Profile Picture
    3,496 Most Valuable Professional on 04 Nov 2023 at 02:42:41
    Re: How to remove sub page form the navigation in power pages

    Oh, ok, in this case, unfortunately, you would need to use code to achieve this. You would need to modify the Header web template, specifically the section that handles the rendering of the links. You would need to remove the part that renders the parent link (first li) and keep the child one. This will affect all navigation links. If you only want to do it for My Account you might add the code that checks specifically for that page and removes it.

  • RohitAswal Profile Picture
    24 on 30 Oct 2023 at 12:37:32
    Re: How to remove sub page form the navigation in power pages

    Hi @OOlashyn ,

    It's not working! Do you have other solutions?
    I just want to remove or hide my account link which is visible in MyAccount.

    I have the screenshot below

  • ragavanrajan Profile Picture
    7,036 Most Valuable Professional on 25 Oct 2023 at 11:08:37
    Re: How to remove sub page form the navigation in power pages

    Hi @RohitAswal 

    Please follow the instructions from @OOlashyn. In addition, I have an article with simple steps, just in case you require one. 

     

    Hope it helps.
    ------------

    If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.

     

     

  • OOlashyn Profile Picture
    3,496 Most Valuable Professional on 24 Oct 2023 at 01:34:08
    Re: How to remove sub page form the navigation in power pages

    Hi @RohitAswal,

    Go to Portal Management (or Power Pages Management if you are using Enhanced Model), open Header web template and check what web link set is used for the navigation. Then find that web link set and remove links that you don't want to see.

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
Lucas001 Profile Picture

Lucas001 60 Super User 2025 Season 2

#2
Fubar Profile Picture

Fubar 55 Super User 2025 Season 2

#3
surya narayanan Profile Picture

surya narayanan 35