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 can we filter List...
Power Pages
Unanswered

How can we filter List records on portal based on logged in user?

(0) ShareShare
ReportReport
Posted on by 6


I have a view that contains the records of all the users, I need to filter it in the list according to the logged in user in the portal. 

We can easily do it in CRM using Filters and setting Owner field equals Current User. How can we do the same in power pages?

Categories:
I have the same question (0)
  • kgpramod2716 Profile Picture
    6 on at

    Can you please send me the step by step because I am getting struct in the contact access after that I am not able to click on the contact relation in the table permission.

  • EmadBeshai Profile Picture
    806 Moderator on at

    Hi @justUrvashi ,

    You can add extra filtration to your list by doing the below 

    EmadBeshai_0-1716673007968.png

     

     

    If this post helps you with your problem, please mark this answer as Accepted Solution.

    If you like my response, please give it a Thumbs Up. 

  • Christ0f Profile Picture
    147 on at

     Yes via Liquid. Link

    Getting username of the current portal user and data such as the contact id. 

    The table should have a lookup column so one can apply if else logic to display rows.

  • justUrvashi Profile Picture
    6 on at

    Hi @Fubar  and @Inogic  , 

    We have a table which is being used for 2 pages, containing 2 different views as List.

    We have two pages that uses one table permission, when I set permissions for Page 1 it overrides permissions on Page 2,

    How can we achieve that table permission, it should work only for one page for other it should not work.

    Is there any other method where we can get the Logged In User data via Liquid code?

  • Fubar Profile Picture
    8,437 Super User 2025 Season 2 on at
    • Having appropriate Table permissions (see above from Inogic) - most secure option
    • The List definition has several checkboxes - use the Portal/Power Pages Management app (see portal user attribute and account attribute https://learn.microsoft.com/en-us/power-pages/configure/list-attributes-relationships)
    • Individual views: adding a Contact filter (set to any contact record) to a View the system will substitute the current logged in portal user (also does similar for account)

     

  • Inogic Profile Picture
    1,135 Super User 2025 Season 2 on at

    Hi @justUrvashi ,

    Based on our understanding, you are trying to display a list based on the logged-in user. Yes, you can achieve this by setting the table permission to the contact level.

    Please follow the steps given in the screenshot below.

     

    Inogic_0-1716469560451.png

     

    Output:-

    Inogic_1-1716469560461.png

    Thanks!

    Inogic Professional Service Division

    An expert technical extension for your techno-functional business needs

    Power Platform/Dynamics 365 CRM

    Drop an email at crm@inogic.com

    Service:  http://www.inogic.com/services/ 

    Power Platform/Dynamics 365 CRM Tips and Tricks:  http://www.inogic.com/blog/

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
Fubar Profile Picture

Fubar 51 Super User 2025 Season 2

#2
Jerald Felix Profile Picture

Jerald Felix 27

#3
Lucas001 Profile Picture

Lucas001 25 Super User 2025 Season 2

Last 30 days Overall leaderboard