Question

5
Replies
3760
Views
SubhajitChattopadhya Member since 2010 36 posts
Infosys Australia
Posted: February 13, 2017
Last activity: February 15, 2017
Closed

How to refer a property inside a pagelist in a section. It is not accepting < CURRENT >

Hi,

I am building a section(DisplayEnrollment) which has properties from embedded pagelist inside the current pagelist(EnrollmentInfo) as well as few properties from the current pagelist.

I have created a data class with the structure of the current pagelist and also have embbeded data classes with those of embedded pagelist structure.(Addresses Data class is under EnrollmentInfo Data Class which houses the properties as street no, address line 1).

In DisplayEnrollment section I need to refer to the AddressLine1 and Streetno. In the property field of the DisplayEnrollment if I use.(.Addresses(1).AddressLine1) and similar, it works but if I use (.Addresses(<CURRENT>).AddressLine1) it does not work. Can we use some other keyword in place of the hardcoded index or is there some other approach that I can use.

Thanks and Regards,

Subhajit

User Interface
Moderation Team has archived post
Share this page LinkedIn