web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Under review by Community Managers

Under review

Thank you for your post! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

How to filter records on the HomepageGrid view when it loads?

Posted on by
Hi -
 
New to Power Apps world. I have a simple use case with 3 custom entities for a model driven app that we are trying for a POC. We want to use custom entities for managing this data. Not planning to go with the route of multiple BU's, teams, record ownership etc.
 
Group
(Sales, Marketing, IT)
 
Group User
Sales (Group Lookup)           User1(User Lookup)
Marketing(Group Lookup)    User1(User Lookup)
IT(Group Lookup)                 User2(User Lookup)
 
Group Request       
Sales (Group Lookup)           Request1
Marketing(Group Lookup)    Request2
IT(Group Lookup)                 Request3
 
1) User can submit requests only under the associated groups - This is is achieved with JS onLoad event handler and XRM api, applyFilter on the Group lookup on the create form. 
 
2) Group Requests view - This is the landing page of the app. When the HomepageGrid loads, it should show the Requests from all groups to which logged in user belongs to.  I have JS with logic is ready but not able to find out how to call on the home page grid load?  Unlike form, there are no event handlers with the views. 
        
Ex: If user1 logs in, the view page should show the requests from Sales and Marketing groups.      
Ex: If user2 logs in, the view page should show the requests from IT group.
 
What options out there with the custom model driven apps? This seems common requirement but somehow not able to figure it out.
 
Thanks for your help.
-Ram
 

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 914

#2
11manish Profile Picture

11manish 627

#3
Valantis Profile Picture

Valantis 598

Last 30 days Overall leaderboard

Featured topics