Hello,
I've created a power apps portal that shows list of services according to user account. How to create a single webpage that will display contents based on user's account ?
Suppose, Account 1 -is using Service 1 & Service 2. I want to display contents related to service 1 and 2 in my webpage.
Account 2 -is using Service 2 & Service 3. I want to display contents related to service 2 and service 3 in my webpage.
If a new user will assigned to Account 3 and will be using service 3 and Service 1 it will display the contents related to service 3 and service 1 in that page.
Mainly, I want to achieve a visual representation of my list in a webpage?
How to achieve this in my power apps portal ?
I have used
{% assign is_admin= user | has_role: 'Webrole'%}
{%if is_admin%}
page content
{%endif%}
But I need to design webpage for each web role which is not efficient. So my aim is to create building blocks for the services , so when user will be assigned to account they will view the service they will be using.
Solved! Go to Solution.
I can't really think of another way other than checking the Web Role to hide/show content or creating dedicated Web Pages for each Web Role.
Table Permissions will help you with securing the data, but the content (specially custom HTML) you need to add the validation manually.
Power Pages Super User | MVP
This comes down to the way you define your data model and table permissions: Configure table permissions using portals Studio - Power Apps | Microsoft Docs
the Service table should have a relationship with your Contact table, and via Table Permissions you can secure the records by that relationship
Power Pages Super User | MVP
Thanks for your reply.
I have already done this and it's working fine.
I was trying to achieve: Suppose,
If the User login and and using service 1 and 2 ,user will see image/iFrame 1 and 2.
If the User login and using service 2 and Service 3, user will see image/iFrame 2 & 3 . The rest of the content of the page will be same.
How to do this in power apps portal?
I can't really think of another way other than checking the Web Role to hide/show content or creating dedicated Web Pages for each Web Role.
Table Permissions will help you with securing the data, but the content (specially custom HTML) you need to add the validation manually.
Power Pages Super User | MVP
Thanks for your response.
User | Count |
---|---|
3 | |
1 | |
1 | |
1 | |
1 |