Refer Pagelist in Correspondence or Paragraph

Dear Folks

Most of you might have faced challenge in configuring Pagelist to a table layout in a Correspondence rule or in Paragraph rule.

Please find the below code to helps you to configure the Pagelist in a Correspondence rule.

<html> 
	<head></head> 
	<body style="margin:5px" border="1px"> 
		

```
<TABLE border="1" cellpadding="1" cellspacing="1" style="width:100%;"> 
			<TR>   
				<TH></TH>
				<TH style="text-align:left;">Property Name</TH> 
				<TH style="text-align:left;">Old Value</TH> 
				<TH style="text-align:left;">New Value</TH> 
			</TR>
		<pega:forEach name=".PropertyChangeLists">
			<TR>
			<TD style="width: 20px; text-align:center;">•</TD>    
			<TD style="font-family: Arial; font-size: 11pt;"> <pega:reference format="pxTextInput" name="$THIS.pyLabel"/></TD>   
			<TD style="font-family: Arial; font-size: 11pt;"> <pega:reference format="pxTextInput" name="$THIS.pyOldValue"/></TD>   
			<TD style="font-family: Arial; font-size: 11pt;"> <pega:reference format="pxTextInput" name="$THIS.pyNewValue"/></TD>   
			</TR> 
		</pega:forEach > 
		</TABLE>
	</body> 
</html>
```

Regards

Harsh

@Harsh_Kumar

Hi Harsh,

Can you give syntax for using Dpage as source of table in paragraph.

I have used as bellow:

<pega:foreach name=“D_abc.pxResults”> </pega:foreach>

but seems no result.

@saritab2

Please refer below link

https://support.pega.com/question/how-can-i-retrieve-data-page-results-javascript