‎10-02-2015 12:35 PM - edited ‎10-02-2015 12:38 PM
Hello ,
How to generate a "Organization Chart" diagram using VB script ( macro) for Org-Unit object ? We need it only for Org-Unit
Thanks in advance for your help !!
Solved! Go to Solution.
‎12-02-2015 03:52 PM
Hello,
The best way is to make a VB script (contextual on an object or what is called a Command Accessor) that is just creating or is organizing the tree (the creation of objects is possible but I suppose data are already created in MEGA db)
Create via VB a diagram of a predefined type and put at the top left corner (just a link) all the existing objects is easy (just create the association between the diagram object and the objects). Do not forget to tell that the diagram is "described" by the parent org-unit.
I advise you to use the Drawing / Reorganize Drawing and not trying to code the position of the object. For an organization chart I find that the hierarchical option of this function is good.
That's it.
‎11-02-2015 10:28 AM
Can you elaborate a bit more what you try to accomplish?