Discussion

1
Replies
2686
Views
RAMAK Member since 2007 2 posts
PEGA
Posted: 5 years ago
Last activity: 5 years 1 month ago
Closed

Problem with a Data Transform as simulation source for Data Page

Copied verbatim from a student feedback, posting this to benefit the community as a whole.

 

Hi,

 

A Leveraging Pega 7 course attendee, who is outside Pega, wants to know why their configuration of data transform doesn't work as expected.

 

However,It is explained that their configuration has missing parts as defining data transform.

 

Please take a look at their request. Your explanation may encourage them to understand what is wrong.

 

You can find their request below(Also you can see document attached document):

 

Configuration 1

Created the Data Transform SimulatedPostalCodes at the class Code-Pega-List

On the Pages & Class tab I declared that the items of in the collection property .pxResults are going to be of class type LP7-HRMS-Data-PostalCodes

 

On the Definition tab I used the option Append and Map to to create and map a new page on .pxResults as the target. When typing a dot in on the Set line, I saw the yellow popup saying Building List… for a brief moment

 

After it disappeared, I expected a dropdown list filled with the properties of the class LP7-HRMS-Data-PostalCodes but nothing was shown

I manually typed the property .City and set it to have the value "Amsterdam"

 

When trying to save the Data Transform, an error was shown with the warning that the property City was not defined that the class Code-Pega-List

 

 

Configuration 2

Just use a regular Set. When typing .pxResults(<APPEND>). the expected dropdown, filled with the properties of the class LP7-HRMS-Data-PostalCodes, was shown

After assigning the value "Amsterdam" to the property .pxResults(<APPEND>). and saving the Data Transform, an error was shown with the text that the property @baseclass.City is undefined

Can you explain why Configuration 1 and 2 are not working as expected?

 

Thanks,

Onur

Pega Academy
Moderation Team has archived post
Share this page LinkedIn