KyraT490 Member since 2016 2 posts
Posted: 3 years ago
Last activity: 2 years 10 months ago

Incomplete XML parsing of Page List properties

When parsing XML that contains several page lists of the same name, only the properties of the first page in the XML are mapped.

For example:

I have a company with this hierarchical structure:

  • Boss
    • Manager A
      • Employee 1
      • Employee 2
    • Manager B
      • Employee 3

In Pega this can be mapped with the class Data-UIGallery-RepeatingLayouts-EmployeeDetails.

The Parse XML tree:

The XML:

		<pyName>Manager A</pyName>
			<pyName>Employee 1</pyName>
			<pyName>Employee 2</pyName>
		<pyName>Manager B</pyName>
			<pyName>Employee 3</pyName>

When running the parse rule with this input, the output is:

The names (.pyName) of Employee 2, Manager B and Employee 3 are not parsed, so the resulting page list is incomplete.

How can this be fixed?

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Data Integration
Moderation Team has archived post
Share this page LinkedIn