This summarizes the differences between a custom extension XSD file and the wimxmlextension.xml file.
Both custom extension XSD files and the wimxmlextension.xml file are used to define custom extension, however, they are used for different purposes.
The wimxmlextension.xml file can be used to add new property types to existing virtual member manager built-in entity types (like PersonAccount and Group). The entity types and property types defined in wimxmlextension.xml are always loaded as dynamic model. If you need to generate static model code, these new types need to be defined in custom extension XSD files.
Custom extension XSD files can be used to add new property types to new entity types. Any new control types must be defined in custom extension XSD files because new control types requires code changes (a custom adapter) and this can not be done at runtime.
Custom extension XSD file | wimxmlextension.xml | |
---|---|---|
Format | XSD | XML |
When used | Deployment time |
|
Can define new entity types | Yes | Yes |
Can define new property types | Yes | Yes |
Can define new Control types | Yes | No |
Can add new property types to new entity types | Yes | Yes |
Can add new property types to the virtual member manager built-in entity types | No | Yes |
Can be used to generate static model code | Yes | No |