Question

1
Replies
48
Views
eoro34 Member since 2018 15 posts
ACN
Posted: July 20, 2020
Last activity: July 21, 2020

How to use a data page as a parameter in pega forEach

As part of a custom control, I've tried doing this code with "D_Sample.pxResults"(including the double quotes) as a parameter, but it doesn't seem to work.

<%
   String paramDP = tools.getParamValue("dataPage");
%>

<script>
  <pega:forEeach name="<%=paramDP%>" >
     <pega:withEmbedded name="$this-value">
         --codes here--
     </pega:withEmbedded>
  </pega:forEach>
</script>

Any ideas how I can use data page as a parameter in a pega forEach?

Pega Platform 8.4 User Interface
Share this page LinkedIn