Display records in Power Pages based on hierarchy of the logged-in Contact
The client needed to display Accounts, Cases, and Contacts in the PowerApps Portal based on the hierarchy of the logged-in Contact. However, PowerApps Portal properties only provided access to the Parent Account of the logged-in Contact, with no direct method to fetch records according to the entire hierarchy.
What Was Holding the Business Back?
Power Pages provided access only to the logged-in contact's parent account, making it difficult to display records across the complete account hierarchy.
What We Set Out to Achieve
How We Delivered Results
A custom hierarchy-based retrieval mechanism was implemented using Dynamics 365 data relationships and FetchXML to deliver accurate, context-aware record visibility.
The Outcome
The solution enabled hierarchy-based record visibility, improving user experience while ensuring secure and relevant access to business data.
The Bigger Picture
The Power Pages solution successfully extended the platform's standard capabilities by enabling hierarchy-based access to Accounts, Cases, and Contacts. By leveraging the existing Dynamics 365 account hierarchy, custom master account relationships, and FetchXML, the solution delivered secure, context-aware data visibility without altering the underlying business model. This approach improved the user experience while preserving data integrity, scalability, and alignment with the client's existing CRM architecture.