PEGACPSA23V1 practice question 3 of 35

How do you reference the State property on an Address page group with the index Home?

Full set: 256 questions
Answer options
A: .Address(Home).State Correct answer
B: .Home.State.Address
C: .Home(Address).State
D: .Address.Home.State
Correct Answer:
A. .Address(Home).State
Explanation

In Pega, when referencing a property within a page group, the correct syntax involves specifying the page group name followed by the index in parentheses, and then the property name. In this case, .Address(Home).State correctly specifies that the "State" property should be accessed from the "Home" index within the "Address" page group. This syntax is essential for accurately navigating complex data structures in Pega applications.

Scroll to Top