Post Closed
51
Views
0
Comments
[Hierarchical Organizational Chart] How to connect with Client event or Outsystems UI?
hierarchical-organizational-chart
Reactive icon
Forge asset by Sylvain Billot
Application Type
Reactive

Hi

I'm using this Hierarchical Organizational Chart and it works really well.

But There's one thing i want to add.


Here's the thing.

I made a tree chart and it shows Organizations name.

When i click the node, i want to make side bar come out.

The side bar is going to show the details like role description and who is going to charge or something else.

I know there's contents area, but it is small to keep that all datas. so that's why i need to use side bar.


And i checked demo file and i tried to reuse the add, edit, delete button.

but side bar has no url, so i have no idea how to do.


I just made 'ToggleSidebar' Client Action and SideBar in Screen. this Client Action needs OrgId for filtering Organization Aggregate. so All i want to do is sending OrgId as a parameter to ToggleSidebar, when i clicked the node or Detail button in Contents area.


I have not much experience of Outsystems and JavaScript, so i need some help. 

I will show you some Chapture images, Please give me some advice.

Thank you.



1. Client Action(ToggleSideBar)

2. Organization Aggregate for filtering data to display on side bar.

3. Side bar

4. Organization Tree Chart

5. Onclick event

6. Assignment for Content