I am developing an application that will be run inside our customers corporate portal. The corporate portal work with tabs for each internal application that is open and has its javascipt library for opening applications in tabs.
The problem we're facing is when we start processing a case and from inside our perform harness we try to invoke another corporate application where our operator needs to review some data to process the case. When we do this, Pega is not able to execute the js function, as it can't find it (even if we add the js library to this harness as well).
If you have included the JS functions in your harness , then try to call those functions from the console and check ,are you able to call them or not . If you are able to invoke the function from console then the code should also trigger the same.
The console errors will also help you to understand the issue.
Posted: 3 years ago
Posted: 2 May 2019 8:33 EDT
Sergio Viola (SergioV)
Thank you. I tried that and found out that in the context of the harness inside the harness (perform harness in one of the tabs of the tabbed section of the main harness), it wasn't accessible. I managed to use the js by calling it from the parent context in the DOM.