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 :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

Need to show different entity list on web page based on user web role

(0) ShareShare
ReportReport
Posted on by 15

Hi,

I also have a similar requirement. I have two entity lists(Manager records, and employee records).
I have two web roles(Manager, Employee). Now I need to show the entity list based on the web role. If logged in user web role is Manager, then I need to show the manager records list and if the web role is employee, I need to show the employee records list

I have the same question (0)
  • Suggested answer
    Leah Ju Profile Picture
    Microsoft Employee on at

    Hi Partner,

    You can achieve above scenario by setting up proper web Role and Entity permission in the CRM for Portal User.

    Setting up Entity permissions links a specific CDS entity to a web role.

    On the entity permission record you can specify the scope and permissions, which will allow you to secure CDS data on the portal.

    For more details refer to below links:

    https://learn.microsoft.com/en-us/power-apps/maker/portals/configure/assign-entity-permissions 

    https://learn.microsoft.com/en-us/power-apps/maker/portals/configure/create-web-roles 

    Or you can try to write code to hide/show entity list based on user's web role:

    https://www.youtube.com/watch?v=NEvVhzExPU4 

  • Suggested answer
    Mohamed GRAIB Profile Picture
    2,504 Moderator on at

    Hi,

    You can configure this with web roles and entity permissions

    You can follow this link

    learn.microsoft.com/.../assign-entity-permissions

    Please mark the answer as verified if that's helpful for you.

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 24 Super User 2025 Season 2

#2
TAHER Mehdi Profile Picture

TAHER Mehdi 14

#3
Fameeda Yaseen Profile Picture

Fameeda Yaseen 10

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans