Usercube-configuration.xsd configuration examples

Hello everyone,

I have found 2 different examples for how to configure the usercube-configuration.xsd, but I don’t know if they are both doing the same thing.

In the technical documentation, we can find:

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

But in one of the slides, we can see:

Is one better than the other, or are both configurations outputting the same result?

Hello Kamil,

It is normal to have several options for using the configuration help provided by the XSD tool. In fact, the usercube-configuration.xsd file is generally used to validate and describe Netwrix Identity Manager’s XML configuration files, in particular to define the cartography of configuration attributes.
That is why we are presenting two examples that can be used in Visual Studio Code:

In both cases, these extensions are used by calling the extension in VSC workspace mode.

Personally, I prefer the XML extension developed by RedHat, as I find it more configurable.

However, this depends on your text editor and, even more so, on the extension used to manage the XSD.

Regards.

Hello @BOUTOT,

Thank you for the response. So they should both do the same and it’s just a preference for which extension you prefer to use.

Thank you.

1 Like