Skip to main content

Notifications

Community site session details

Community site session details

Session Id : afk3rDO9JxiKQETvWF+okg
Power Apps - Building Power Apps
Suggested answer

Embedding SharePoint Organization Chart in PowerApps Canvas App

Like (1) ShareShare
ReportReport
Posted on 21 Mar 2025 13:54:55 by

I am building a Canvas app using a SharePoint list that displays a list of all departments in the organization. When a user selects a department, I want to show the organization chart for that department.

 

To achieve this, I have created a SharePoint page with the Organization Chart web part. However, I need help with:

 

  1. Embedding the SharePoint page (containing the org chart) into the PowerApps Canvas app.

  2. Dynamically passing an email ID (based on the selected department) to filter the organization chart for the relevant team.


  3.  
 

Is there a way to achieve this within PowerApps? Any guidance or alternative approaches would be appreciated!

Categories:
  • Suggested answer
    BCBuizer Profile Picture
    22,048 Super User 2025 Season 1 on 21 Mar 2025 at 23:02:55
    Embedding SharePoint Organization Chart in PowerApps Canvas App
    Hi!
     
    1. A SharePoint page can be embedded in a Power Apps canvas app using an iFrame component: https://pcf.gallery/responsive-iframe-pcf-control/
    2. I'm thinking you'll have to configure a parameter on the SharePoint page to pass the email id. Then take the value of that parameter to select the right team in the webpart. How to do that is probably best asked in the Sharepoint Community: https://techcommunity.microsoft.com/category/content_management/discussions/sharepoint_general
     
    Once 2. is implemented, you can make the URL you pass in the source property of the iFrame component dynamic to include the parameter and its' value so it shows the relevant team.
     
     
    If this reply helped you in any way, please give it a Like đź’ś and in case it resolved your issue, please mark it as the Verified Answer âś….

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

#1
WarrenBelz Profile Picture

WarrenBelz 146,771 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,091 Most Valuable Professional

Leaderboard
Loading started