Anand Pandey (AnandP)
Swedbank AB
Pega Platform Engineer
Swedbank AB
AnandP Member since 2013 151 posts
Swedbank AB
Posted: February 14, 2019
Last activity: August 5, 2019
Posted: 14 Feb 2019 11:29 EST
Last activity: 5 Aug 2019 9:27 EDT

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****

Pega Platform System Administration
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.