Basic Customization > Windchill Customization Basics > Windchill Utilities > Using the xconfmanager Utility > Validating XCONF Files > Validating XCONF Files Examples
  
Validating XCONF Files Examples
To validate a single file as a site-specific XCONF file, run the command:
xconfmanager --validateassite=<site_xconf>
If the file is valid, then the xconfmanager will issue no output and exit with a return code of zero.
To validate that several files are valid site XCONF files in one invocation, there are two options. You can use the
--validateassite
parameter multiple times. For example:
xconfmanager --validateassite=<site_xconf>
--validateassite=<site_xconf>
The other option is to create a text file, add a line for each path to a file to be validated, then run the command:
xconfmanager --validatefilesassite=<site_list_file>
If all the files are considered valid site XCONF files, xconfmanager issues no output and exits with a return code of zero.
You can validate declarative XCONF files in the same manner using the following parameters:
--validateasdecl
or
--validatefilesasdecl