Skip to main content

Defining Organizational Structures Using an XML File

FlexNet Manager for Engineering Applications provides the XML schema for the organizational structure orgStructure.xsd and sample XML files in the FlexNet Reporting installation directory at \site\samples. The schema ensures that an organizational structure contains only one type of entities (leaf-nodes)—that is, a host organizational structure can never contain users or projects.

The organizational structure schema enables you to contain one or more structures in a single XML file at the time of import. The organizational structures can be one of three types—userOrgStructure, hostOrgStructure, or projectOrgStructure. The userOrgStructure can contain at least one or more userOrgNodes or one or more users. The userOrgNode should contain at least one more user or one or more userOrgNode as its child. The hostOrgStructure and projectOrgStructure have a similar hierarchy. See the section, Sample XML Organizational Structures

In an organizational structure, the leaf nodes (users, hosts, or projects) can be grouped into organization nodes (for example, userOrgNode), which could be grouped under other OrgNodes or the OrgStructure. The organizational structure is associated with a start date (startDate). Reports could be run for leaf nodes, organization unit nodes, or structures. The organizational structure is validated to ensure that a child node would never have more than one parent at a time.

See the following section, Special Characters for information about how to express some characters using XML.