Question

3
Replies
327
Views
DatThanhDiep Member since 2016 15 posts
CIBC
Posted: 2 years ago
Last activity: 2 years 2 months ago
Closed

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***

User Interface
Moderation Team has archived post
Share this page LinkedIn