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 Platform Community / Forums / Power Apps / Organizational Chart s...
Power Apps
Unanswered

Organizational Chart sync scrolling

(0) ShareShare
ReportReport
Posted on by 3,295

Hi there.

 

I hope somebody could point me in the right direction. And I hope this is possible to do it.

 

I would like to implement an organizational chart. I know that I can use the office365users connector. But this chart is not properly related to the company organization is a custom chart based on some roles.

 

Anyway, I would like to have at the top an horizontal gallery with the departments.  And below a container I guess? to insert several galleries as many as departments I have at the top. Now when I scroll the top gallery "departments" I would like to see the container scrolling too.

 

sajarac_0-1635259686786.png

 

 

Thanks in advance for any help.

 

Regards.

Categories:
I have the same question (0)
  • rubin_boer Profile Picture
    4,843 Super User 2024 Season 1 on at

    hi @sajarac 

     

    just an idea not polished at all

     

    three containers 

    1: top for departments (galDepts with template width 170)

    2: business units (galBus)

    3:  container 1 and 2 is housed in it

     

    two icons

    1: < go left (OnSelect = UpdateContext({moveIt: galDepts - 170})

    2:  > go right (OnSelect = UpdateContext({moveIt: galDepts + 170})

     

    Set galDepts.X = moveIt

    Set galBus.X = moveIt

     

    Result

    2021-10-26 17-39-33.gif

    Hope it helps,

    R

  • Sajarac Profile Picture
    3,295 on at

    Hi, thank you very much for your prompt response. I have been trying to get your solution but I don't get it. Sorry.

  • rubin_boer Profile Picture
    4,843 Super User 2024 Season 1 on at

    hi @sajarac i will be more detailed tomorrow ;). need to run.

  • rubin_boer Profile Picture
    4,843 Super User 2024 Season 1 on at

    hi @sajarac 

     

    The department names goes into the blue container (galleries as needed) and the areas in the department in the green container (galleries in them as needed as well).

    • both these containers are children of the main container (grey one) with their X position being 0.
    • Also assign green container's X=blue.X
    • make sure the width of the grey container = the width of the other containers

    rubin_boer_0-1635314335265.png

    When you add your department gallery (i used a horizontal one) in the blue container the template size is set to desire width you wish your org structure labels need to be.

    • Assign the template size of the gallery to 170 and the padding to 0.
    • If you have 5 departments your gallery width will be 5*170 right.
    • repeat this for the galleries in the green area

    to move the galleries, we need to change the X position of the blue and green containers only. seeing we already assigned the two containers to have the same X position we can change either one's potion and the other will follow.

     

    The width of the "org boxes" is set to 170, by moving the two containers left by 170 they first department will not be visible anymore and any department that was not visible in the container would appear. the reverse is true as well.

     

    to do this

    add the two icons and set the OnSelect events as mentioned:

    two icons

    1: < go left (OnSelect = UpdateContext({moveIt: galDepts - 170})

    2:  > go right (OnSelect = UpdateContext({moveIt: galDepts + 170})

     

    Finally set blue container.X = moveIt

     

    I Hope this is more descriptive,

    R

     

     

  • Sajarac Profile Picture
    3,295 on at

    Hi, Thank you very much for this. Sorry I am feeling so dummy. For sore reason I can not get this. Would you mind to share the file?

     

    This is my left right icons:

     

    sajarac_1-1635342017300.png

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 150 Super User 2026 Season 2

Last 30 days Overall leaderboard