Question

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

Correct Answer
August 4, 2019 - 1:20pm

Hi,

It is available in pega 7.3.1 on wards. You can refer following link for detailed information.

https://community.pega.com/knowledgebase/release-note/generate-xsd-file-xml-format-output

Comments

Keep up to date on this post and subscribe to comments

August 4, 2019 - 1:20pm

Hi,

It is available in pega 7.3.1 on wards. You can refer following link for detailed information.

https://community.pega.com/knowledgebase/release-note/generate-xsd-file-xml-format-output

August 5, 2019 - 7:27am
Response to chandrasekhar_g

Hi,

I am not sure if they made any fix in Bix product itself because Get all properties Checkbox was also supported with earlier version of Pega but that was not serving our purpose.

August 5, 2019 - 7:51am
Response to AnandP

Hi,

Get all properties Checkbox is available from pega 7.3.1 onwards. I verified on 7.4.  Get all properties option is working.