Skip to main content

Recommendations

Editor​

Visual Studio Code is the recommended editor for configuration. Its extensions can highly benefit the configuration experience. NETWRIX recommends the following extensions:

Configure auto-completion​

RedHat's XML extension provides auto-completion based on an XSD file. It opens an auto-completion popup when you start to edit an element or attribute name. You can open the popup by typing Ctrl-Space.

Auto-complete

Configure auto-completion by proceeding as follows:

  1. Retrieve from the SDK artifact the usercube-configuration.xsd and Usercube.Demo.code-workspace files.

  2. Make sure that these files are in the working directory (for example C:/identitymanagerDemo).

  3. In Usercube.Demo.code-workspace, declare the following setting, replacing the path C:/identitymanagerDemo/identitymanager-configuration.xsd by the path of your XSD file:


    "settings": {
    "xml.fileAssociations": [{
    "systemId": "file:///C:/identitymanagerDemo/identitymanager-configuration.xsd",
    "pattern": "**/*.xml"
    }]
    }

Version Control System​

A version control system (like Git) is also recommended so files and configuration history could be tracked.

File Hierarchy​

Some folders in the XML configuration contain files that are generated by Usercube and that must not be modified manually:

  • Runtime/Workforce
  • Runtime/Bootstrap

For the configuration to be more readable it is recommended to classify configuration by Connector or Application Entity. For each Connector or Application Entity create a folder in which will put:

  • Connector.xml file containing the definition of the Connector, the EntityTypes,the EntityAssociations and their mappings.
  • Administrator.xml file containing all the ACE for the administrator profile.
  • Role Model.xml file containing the role model configuration.
  • UI.xml file containing the User Interface configuration.
  • Jobs.xml file containing the jobs configuration.
  • Workflows.xml file containing the Workflows configuration for the given connector.

Recommendation