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 / Filtering the data in ...
Power Pages
Unanswered

Filtering the data in the List based on Logged in user and a Related Field

(0) ShareShare
ReportReport
Posted on by 6

Currently in the portal we want to apply security model like dynamics. Currently power pages are configured with Contacts. Contacts are configured with "bookable resource" a database table.

 So, in the "bookable resource" table we have "practice area" column. We are showing all the list of /bookable resource/ in portal page. We want to filter that data based on login user.

 Let's say I'm the logged in user and my Practice area value = A. So, when I login in, I only want to see bookable resources where practice area = A, no other practice area related records.

 How can we achieve this in power pages portal?

Categories:
I have the same question (0)
  • oliver.rodrigues Profile Picture
    9,482 Most Valuable Professional on at

    Hi, you can achieve this using Table Permissions.

    The way I would structure is:

    • Practice Area is a table
    • Contact record has a lookup to Practice Area, defining which area they are associated with
    • Bookable Resource is another table and should also have a lookup to Practice Area
    • Table Permission pointing to Practice Area, scope = Contact using relationship created
    • Child Permission pointing to Bookable Resource, scope = Parent using relationship between the two tables

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
11manish Profile Picture

11manish 42

#2
omkarsupreme Profile Picture

omkarsupreme 37

#3
Valantis Profile Picture

Valantis 35

Last 30 days Overall leaderboard