Question
CIBC
CA
Last activity: 31 Jul 2018 15:47 EDT
Javascript showHarnessWrapper function does not work propertly
Hi All,
I have a requirement to launch an additional harness whenever users login to the application. I have tried to call showHarnessWrapper whenever the page is loaded. I have used the below code.
pega.desktop.showHarnessWrapper('newDocument','Data-Admin-WorkGroup','pyTeamDashboard','','','','My Teams','','false','','false','','','','true','true' );
The problem is it shows the harness in a new popup instead of populating the harness in the same windows. However, I have tried to implement a button to test my script. When I click that button, it runs the exactly same script and the script works the way I want.
Can you please explain why the script does not work properly when it is not called by clicking button? Moreover, is there any other way to achieve my requirement?
I appreciate any help you can provide.
Thanks,
Dat
***Edited by Moderator Marissa to update platform capability tags***