Question
S & P Global Inc
US
Last activity: 18 Jul 2018 13:52 EDT
Get page context to call section in HTML Fragment
When calling a section inside HTML Fragment rule, How can page context be passed dynamically.
My current code is as below (highlighted part is dynamic)
<%
ClipboardPage CurrentItem = tools.getActive().getPageValue(); %>
<pega:withPage name = "<%= CurrentItem %>">
<pega:include name="SectionName" type="Rule-HTML-Section"></pega:include>
</pega:withPage>