cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
FrankVanhamel
New Member

Portals Child table relationships

Hi community,

 

I currently face following problem. We have this situation where a contact record can belong to one or more 'Groups'. This groups is a custom entity in CDS or Dataverse. At this point no problems as we use the table permissions and the contact relationship to show only those groups for the contact.


Next is that under this group we have some 5 child tables. For each of the child tables we provide seperate Web Pages. Issue now is that these webpages have lists that are filtered on a static way, i.e. we've created seperate views in CDS filtered on a specific group. Problem now is that they have > 700 groups so this would mean 700 views to be created, 700 Web Pages,...
Is there a way via standard Portals functionality to have the 5 child tables automatically filtered on the group? See also image in attachment.

 

Thanks for your help!

 

Kind regards,

1 REPLY 1
hardikv
Solution Sage
Solution Sage

Hi @FrankVanhamel 

 

Yes, you have to create Child Table Permission under your Group Table Permission. While creating Child Table Permission, you have to select as Access Type "Parent" and also select relationship between "Group" and your child Table.

 

Table Permission

  • Group:
    - Access Type = Contact
  • From this Group Table Permission, you have to create 5 Child Table Permission
  1. Group Function
    - Access Type = Parent
    - Select Relationship for Group & Group Functions
  2. Group Volunteer
    - Access Type = Parent
    - Select Relationship for Group & Group Volunteer
  3. Site Group Responsible
    - Access Type = Parent
    - Select Relationship for Group & Site Group Responsible
  4. Group Member
    - Access Type = Parent
    - Select Relationship for Group & Group Member
  5. Group Activities
    - Access Type = Parent
    - Select Relationship for Group & Group Activities

 

Please refer this blog: https://vblogs.in/table-permissions-in-powerapps-portal-part-2/

In above bl0g, you need to refer "Table permission with Parent scope" section.

 

--------------------------
If you like this post, give a Thumbs up. Where it solved your query, Mark as a Solution so it can help other people!

Helpful resources

Announcements
Welcome Super Users.png

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (2,874)