Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Organization Chart in Liferay DXP
Hello, I am using Liferay DXP seems there is no out of box component for Org chart , can you please provide quick and easy solution how to build dynamic organization chart in liferay DXP instead of following online examples 9html, css/js frame work).
Well, you probably need to develop it.
If I had to do that, I would select one library or example I like and then I would use OrganizationLocalService to fetch the organization I want to show. Then recurse through the children and write the necessary html/js structure (whatever the library/example requires).
I did that once for users (users (or to be more precise, their group, can have "parents" too. I had an import job that connected the users and when clicking a user, I showed his place in a hierarchy using a simple css tree.
https://codepen.io/Pestov/pen/BLpgm
If I had to do that, I would select one library or example I like and then I would use OrganizationLocalService to fetch the organization I want to show. Then recurse through the children and write the necessary html/js structure (whatever the library/example requires).
I did that once for users (users (or to be more precise, their group, can have "parents" too. I had an import job that connected the users and when clicking a user, I showed his place in a hierarchy using a simple css tree.
https://codepen.io/Pestov/pen/BLpgm
Hi Chrish, can you please provide details steps how to implement that and give some examples too.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™