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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Need Advice on Managin...
Power Pages
Unanswered

Need Advice on Managing User Access in Power Pages Based on Form Input

(0) ShareShare
ReportReport
Posted on by 7

Hello everyone,

I'm currently working on a Power Pages website project and have come across a bit of a challenge that I hope to get some guidance on. The website includes multiple pages, some of which are only accessible to authenticated users. These exclusive pages offer additional functionality, such as the ability to report data through forms.

Here's where I need your advice: The initial page prompts the authenticated users to input a date, which is a crucial step for the data reporting process. I'm trying to figure out the best method to ensure that users cannot navigate to the subsequent pages without first completing this step.

Does anyone have experience or tips on how to effectively restrict access to certain pages based on whether a user has filled in a specific form field, like the date? I'm looking for any best practices, coding strategies, or features within Power Pages that might be helpful in achieving this.

I appreciate any guidance or insights you can share. Thank you in advance for your help!

Categories:
I have the same question (0)
  • CU20091748-0 Profile Picture
    39 on at

    Maybe you could hide the pages from the main navigation, except for the page with the date. When the user submits the date you can redirect them to the next page. Or simply group all these forms in a multi-step form with the date as the first step.

  • MPChat Profile Picture
    7 on at

    Hi @GMB1, thanks for the reply, interesting approach for the navigation, I haven't thought of it. Do you know if or/and how to hide the pages and then show them again depending on the form input? 
    About the muti-step form, it is a good idea but unfortunately I have other things apart from the form I need to show on the other pages. 

  • Fubar Profile Picture
    17 Super User 2026 Season 1 on at

    Use Liquid, and access values from the Record in question.

    Depending on what you need will depend on how far you go with this e.g. 

    • Edit the Header web template to not display menu items
    • Add to page copy to hide forms (e.g. wrap the entityform tag or other tags in an if else)
    • Add to page copy/Web Template to restrict someone directly accessing a url (e.g. have bookmarked a page), another if else scenario if not valid show an error and don't load the form etc.

    Can get values via the request, direct entity or fetchxml

    https://learn.microsoft.com/en-us/power-pages/configure/liquid/liquid-objects#entities

    https://learn.microsoft.com/en-us/power-pages/configure/liquid/template-tags#fetchxml

    https://learn.microsoft.com/en-us/power-pages/configure/liquid/control-flow-tags

    https://learn.microsoft.com/en-us/power-pages/configure/liquid/liquid-objects#request

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
Mohsin Ali Profile Picture

Mohsin Ali 33

#2
sannavajjala87 Profile Picture

sannavajjala87 28 Super User 2026 Season 2

#3
Fubar Profile Picture

Fubar 22 Super User 2026 Season 1

Last 30 days Overall leaderboard