Skip to main content
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Answered

Show/hide specific pages in portal

(0) ShareShare
ReportReport
Posted on by 72

Hi,

I have a new portal and i am wondering if there is a way I can show/hide certain pages in the portal depending on who is signed in. I only use invitation only authenticated users so everyone will be in the contacts records but some I need to see some pages and some I need to see others.

If anyone could point me in the right direction I would be very grateful.

Kind regards,

Matt

  • Matthu Profile Picture
    72 on at
    RE: Show/hide specific pages in portal

    Thank you so much for taking the time to answer.  You have solved my problem! I was totally confused as to why I couldn't solve this myself, I made the rookie error of assuming I had to set each web role to be relevant for either a authenticated user or not so I checked the boolean to true and it applied all of my web roles to all authenticated users! I couldn't understand why everyone could see everything. Reading through your answer and the link you added resulted in me realisisng my mistake! Thanks again.

  • CRMJetty Profile Picture
    3,512 on at
    RE: Show/hide specific pages in portal

    Hi Matthu,

    To show/hide pages you can configure role wise web page access control for a page.

    You can manage web page access control in two ways:

    • From Power Apps portals Studio
    • From Portal Management app

    Refer below article for step by step solution:

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

    I hope it helps,

    Thanks.

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365

  • Verified answer
    Community Member Profile Picture
    on at
    RE: Show/hide specific pages in portal

    Hi Matthu,

    Maybe you can use ‘Web Roles’ and ‘web page access control rules’ to achieve it.

    1.create a custom web role and assign contacts you need.

    A contact can be assigned a web role.  A web role is very similar to a CDS security role that we would assign to a user. 

    For the most part, you would assign a contact to the web role much like a CDS user is assigned a security role for specific privileges.

     pastedimage1621231506820v4.png

    Once the Web Role is created, it can be assigned to the Contact record.

    pastedimage1621231603185v5.png

    2.Web Page Access Control Rule.

    https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/webpage-access-control#webpage-access-control-rules

    The web page access control rule can be set to levels or privileges, “restrict read” which basically means any portal contact with a web role linked to the web page access control rule can “read” the web page on a portal.  The other is “Grant Change” which means that users have the ability to modify any of the editable static content (content snippets, page title, page copy, etc) from the legacy front side editing tools, if they have the content editor permissions.  

    When you create a ‘restrict read’ rule for a page, the page is blocked for all. And then you have to assign web roles to this rule to explicitly make this page available to users in that web role.

     pastedimage1621231410439v3.png

    Once the Web Page Access Control Rule is created, then assign specific Web Role(s).

     pastedimage1621231642846v6.png

    For more information, you can refer following link:

    PowerApps Portals: How to Hide or Show Content based on Logged in User – ReadyXRM

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

  • Community Member Profile Picture
    on at
    RE: Show/hide specific pages in portal

    i like this<a href="www.google.com/.../a>

    i like this[url=https://www.google.com/]post[/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

News and Announcements

Now Available: 2025 Release Wave 2

Quick Links

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 51 Most Valuable Professional

#2
Ramesh Kumar Profile Picture

Ramesh Kumar 42

#3
David Shaw_UK Profile Picture

David Shaw_UK 27

Featured topics

Product updates

Dynamics 365 release plans