Question

5
Replies
1651
Views
Abhishek Sajjan (AbhishekS9453)
S & P Global Inc

S & P Global Inc
US
AbhishekS9453 Member since 2017 8 posts
S & P Global Inc
Posted: June 19, 2018
Last activity: July 18, 2018
Posted: 19 Jun 2018 14:25 EDT
Last activity: 18 Jul 2018 13:52 EDT
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 Experience
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.