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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / how to filter view of ...
Power Pages
Unanswered

how to filter view of the list by current logged user

(0) ShareShare
ReportReport
Posted on by 265

hi,

i have created a view from the data verse table. Now i want to filter that records by logged user. but in the filter sections, how to handle it?

Erandi_0-1707891594300.png

help me guys...@Fubar @Lucas001 

Categories:
I have the same question (0)
  • AkshayShah Profile Picture
    59 on at

    Hi Erandi,

    You have to apply table permission based on your requirement in the power pages.

    Thanks,

    Akshay shah

  • Erandi Profile Picture
    265 on at

    hi @Akshay_Shah ,i  have set the table permission. 

    Erandi_0-1707926684513.png

    in here ,is there a way to filter by logged user?

     

  • Erandi Profile Picture
    265 on at

    @Akshay_Shah I have sent ss for setting the filter condition after applying table permissions with contact table.

    Erandi_1-1707929050641.png

     but it is not worked ..the records are not loaded.? Is there any issue with me?

     

  • Fubar Profile Picture
    8,338 Super User 2025 Season 2 on at
    • to limit what the user can see altogether use Table Permissions
    • to limit a specific List you can use the Filter (as per Erandi's post above), but (if they shouldn't be seing anyone elses records, Table Permissions are the more secure option)
    • If the user is allowed to see other Contact records, you could create a View (in the view's conditions set a filter to Contact and contact will get replaced with the current logged in user)
    • If the user is allowed to see other Contact records, you could enable filters and set one of the Lookup filters https://learn.microsoft.com/en-us/power-pages/getting-started/add-list#filter-types (I am not sure if the Lookup filters are in the new interface yet if not you may need to do it from the Portal/Power Pages management app)

    It depends on exactly what you need to do

  • Abhishek Bihani Profile Picture
    45 on at

    Hi @ERA  ,

     

    To filter view based on logged in user you have to do below steps:

     

    1. Create Contact record as name 'Portal Filter'

    2. Add filter condition in Owner filed & select Contact 'Portal Filter'.

     

    Portal View automatically filter records based on logged in Contact.

     

    Here is example:

     

    abhibihani_0-1707976913585.png

     

     

  • Erandi Profile Picture
    265 on at

    hi @abhibihani 

    should i create new contact inside of contact list.right?

    Erandi_0-1707977519608.png

     

  • Abhishek Bihani Profile Picture
    45 on at

    Yes, please create new contact.

  • Erandi Profile Picture
    265 on at

    @abhibihani can you explain this .I didn't get it 

    Erandi_0-1707977851463.png

     

  • Abhishek Bihani Profile Picture
    45 on at

    If you are using 'X' entity then ideally you should have one contact lookup to filter records based on logged in portal user/contact. If you have Contact lookup created then add that field in filter condition of view. 

     

    For e.g. Lead entity view having Contact lookup then add filter condition on Contact lookup & select newly created 'Portal Filter' as contact. 

     

    abhibihani_0-1707978494900.png

     

     

     

     

     

     

     

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard