Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

Org chart in esc pro portal

kali
Tera Contributor

Hi All,

In the org chart is showing all users of manager. My ask is that i should show only employees . We can find the status of a user by going to HR  profile only to see if he is a employee or not .Please help me

Thanks in advance.

1 REPLY 1

ASA5
Mega Sage

Hi Kali,

 

You should clone and update the widget "Organization Chart".

At Server Script line 68 the query should be updated to include only employee.

 

ASA5_1-1706112504457.png

you should add gr.addQuery("employee","true") // in the case you have a flag to identify employee.

 

Then go to the page "my_org_chart" and replace the widget "Organization Chart" by the one you created.

 

Best regards,

ASA