Question

3
Replies
285
Views
AnandP Member since 2013 139 posts
Swedbank AB
Posted: February 14, 2019
Last activity: August 5, 2019
Closed
Solved

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
Share this page LinkedIn