Discussion
CareFirst BlueCross BlueShield
US
Last activity: 17 Nov 2015 5:59 EST
How to call Harness thru HTML rule in Pega 7
Anyone knows how to call Rule-HTML-Harness in HTML rule. We are upgrading Pega 6.2 to 7, we have many harnesses in our application. It is not being displayed, rather pega7 shows an error.
In our HTML rule, we have include tag like this, but harness is not shown at all.
<pega:include name="TestHarness" type="Rule-HTML-Harness" />
Thanks in advance
-
Likes (1)
Gaurav Londhe -
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
GB
Hello,
Thank you for your query. It has been passed to the appropriate members of our support team. Someone will contact you.
Regards,
Andrew Fontenelle
PDN Support Team
CareFirst BlueCross BlueShield
US
Our development team already found a way to call harness. We have resolved this issue. Thanks for reply. .
JP Morgan
IN
Please let me know about the resolution. I need to call harness on same window but window.location.href is not working in Pega 7 and same was working in 6 version.
aegislimited
US
hi
i have a requirement to refresh harness from custom control of radio buttons
Infosys
DE
Hi HUSSAINJ,
We have a similar scenario. It would be great if you can post the details of the solution?
CareFirst BlueCross BlueShield
US
This is what we did to fix the above issue. Hope this helps others too.
<%
try {
// Load the harness with the specified page
HashStringMap paramsStream = new HashStringMap();
paramsStream.putString("pxObjClass", "Rule-HTML-Harness");
paramsStream.putString("pyClassName", "MyOrg-DATA-BA-");
paramsStream.putString("pyStreamName", "MyHarness");
ClipboardPage tabPage = tools.findPage( "MyPage");
String retStream = tools.getStream( paramsStream, tabPage );
tools.appendString(retStream);
} catch (PRRuntimeException prre) {}
%>
Apple India Pvt Ltd
IN
Thank you HussainJ.