Generate XSD for all properties
We are using Pega 7.1.9 & there is a requirement to provide an XML with each property for each case when it is completed in production. We have been able to provide this using a BIX extract rule. We are extracting an XML for each case and that is serving the purpose.
However, they also need one single XSD using which they will be able to read each and every case that could possible by generated. We have been able to provide them the XSD for each case. However, since the XSD is generated for only the properties populated in each case, each XSD may be different and may have definitions of attributes that the XSD for another case may not have. Hence the XSDs are dynamic in nature. This is not acceptable to them since they want only one XSD that will have the definition for all the all the attributes for all cases for a particular type.
We cannot define the XSD manually since it is almost impossible to find out a list of all the possible attributes that can be used in a case. Even if we manage to do it once, it will have to be updated manually each time a property is added.
Is there a way to generate an XSD that will automatically include all the properties present in the entire data model and contain their definition?
***Edited by Moderator Marissa to update platform capability tags****
It is available in pega 7.3.1 on wards. You can refer following link for detailed information.
Keep up to date on this post and subscribe to comments
- How to generate ValueList/ValueGroup property from XSD?
- How to consume xsd which has reference to another xsd for generating data mapping rules in connector wizard using xsd as option
- pxExtractIdentifier and pxExtractDateTime fields missing in the XML/XSD generated from a BIX rule where these were generated as part of CSV.
- XSD generation
- Update existing rules generated from XSD and WSDL