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 Apps / Filter View based on S...
Power Apps
Unanswered

Filter View based on Security Roles

(0) ShareShare
ReportReport
Posted on by 19

Hello community.!

 

I have a table that has many fields, including one called service line. This field can take different values (Tax, Assurance, Sales, etc).
On the other hand, this table has more than 5000 records and it will be seen by different people, these people work in different service lines (Tax, Assurance, Sales, etc.). Therefore, I need the view to be filtered by person.


So, I thought about creating different security roles and putting the users in them.


But is it possible that, depending on the security role, the view is filtered?

I have the same question (0)
  • a33ik Profile Picture
    3,306 Most Valuable Professional on at

    Hello,

    Filtering based on the Security role is doable but that would require the development of plugins.

    The easier and more elegant solution is to create a separate apps, assign those apps based on the security roles and filter views in the app itself:

    https://learn.microsoft.com/en-us/power-apps/maker/model-driven-apps/create-edit-app

    https://learn.microsoft.com/en-us/power-apps/maker/model-driven-apps/add-edit-app-components#add-a-component

    https://learn.microsoft.com/en-us/power-apps/maker/model-driven-apps/share-model-driven-app

     

  • Iep90 Profile Picture
    19 on at

    No. I have to show records base on service line, no create separated apps

  • a33ik Profile Picture
    3,306 Most Valuable Professional on at

    Then you will have to develop a plugin that will handle RetrieveMultiple message for SavedQuery entity and filter the list returned according to Security Roles. Unfortunately, I have no examples relevant to the current version of the system.

  • samm105 Profile Picture
    12 on at

    Hey @Iep90, I am in the same boat, what did you end up doing?

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard