Using pyViewAsPDF under the Activicty
I Want to view Data in a PDF
So i created a HTML RULE under my Work class
<html>
<head>
<style type="text/css">
table, th, td { border: 1px solid black; }
</style>
</head>
<body>
<table>
<tr>
<th>UserName</th>
</tr>
<pega:forEach name="TempPage.pxResults">
<tr>
<td><p:r n="$THIS.name" m="literal"/></td>
</tr>
</pega:forEach>
</table>
</body>
</html>
I have a Activity under Code-Pega-List as shown below
I need help for the Methods Property-Set-HTML and Call pyViewAsPDF under the above Activicty
I have attached the screen shot regarding the issue i am facing . please let me know your views in approaching this