Skip to main content

Notifications

Community site session details

Community site session details

Session Id : ldx2fY30kxdjoelclDPbMm
Power Pages - General Discussions
Answered

Web Roles In Enhanced Model

Like (1) ShareShare
ReportReport
Posted on 3 Jul 2024 08:48:33 by 110

 

Hi,

On my portal, which uses the enhanced data model, I want to manage web roles. I can assign web roles to a specific contact, but I also want to assign a contact to a web role. When I try to assign a contact to a web role, it doesn’t work; it always shows the value of web roles assigned to a specific contact.

This was possible in the standard model, but I can't find a way to do it in the enhanced data model.

Any suggestions or ideas?

 @EmadBeshai

 

 

 

 

faruk1_0-1719996706971.pngfaruk1_1-1719996738751.png

 

Categories:
  • Verified answer
    faruk1 Profile Picture
    110 on 09 Jul 2024 at 06:24:11
    Re: Web Roles In Enhanced Model

    hello all, this is possible with the help of Power automate flow, we need actions like relate and unrelate a row, with the help of Web Roles and Enhanced Data Model - Dancing with CRM this is possible, you have to add a trigger as when an item is modified.
    thank you for your help.

  • faruk1 Profile Picture
    110 on 05 Jul 2024 at 05:39:59
    Re: Web Roles In Enhanced Model

    @EmadBeshai 
    @OliverRodrigues 
    @Fubar 
    @ragavanrajan 

  • faruk1 Profile Picture
    110 on 04 Jul 2024 at 08:13:35
    Re: Web Roles In Enhanced Model

    @EmadBeshai thank you for your answer,
    then how can I assign the role to users from the front-end, directly from the website as I am displaying the contact list on the admin page, then he can see all the users then he can edit and assign the role, but now due to the above conditions its not working , can you please tell me any suggestion regarding this.

  • faruk1 Profile Picture
    110 on 04 Jul 2024 at 08:10:11
    Re: Web Roles In Enhanced Model

    @EmadBeshai thank you for your answer,
    then how can I assign the role to users from the front-end, directly from the website as I am displaying the contact list on the admin page, then he can see all the users then he can edit and assign the role, but now due to the above conditions its not working , can you please tell me any suggestion regarding this.

  • EmadBeshai Profile Picture
    806 Super User 2025 Season 1 on 03 Jul 2024 at 16:37:10
    Re: Web Roles In Enhanced Model

    Hi @faruk1 ,

     

    I'm sorry to inform you that adding contacts directly from the Web Role entity in Power Pages isn't possible. The relationship and linking between contacts and web roles differ significantly from the Power Pages model.

    https://learn.microsoft.com/en-us/power-pages/security/create-web-roles

     

    EmadBeshai_0-1720024617377.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. 

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Pages - General Discussions

#1
WarrenBelz Profile Picture

WarrenBelz 9 Most Valuable Professional

#2
Rondel Profile Picture

Rondel 6

#3
oliver.rodrigues Profile Picture

oliver.rodrigues 4 Most Valuable Professional

Overall leaderboard