Question

5
Replies
1415
Views
AbhishekS9453 Member since 2017 8 posts
S & P Global Inc
Posted: June 19, 2018
Last activity: July 18, 2018
Closed

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>

User Interface
Moderation Team has archived post
Share this page LinkedIn