Styles Not Applying in Popup Window with Harness Action

Hello,

I have a requirement where clicking on any link should open a Harness a new window.

However, the styles are not being applied to the launched Harness when I include the stylesheet in the Scripts & Styles tab of the harness.

When I launch a section in a modal using a local action, the UI renders correctly. But when I launch the same section in a popup window using a harness action, the UI does not render as expected.

From my understanding:

  • The Pzskinv2 CSS file is associated with the application skin, portal skin, or any custom skin applied to the portal.
  • The Pzharnessv2 CSS file is associated with the harness and includes additional harness-specific stylesheets.

How can I override Pzharnessv2 to ensure it uses Pzskinv2 styles instead?

I suspect this could be a bug in Pega.

@RichardMarsot

@mandeeps0898 pzharness_xx is the name of assembled css that contains your skin + all the CSS files attached to your harness - pzskin_xx is the name of the assembled css when only the skin is used. If you are not seeing your css files- it is likely that you have attached them to the wrong harness or how you are opening the harness is not done through a typical action.

anyhow if you suspect this is a bug and not a configuration issue, you can open a support request.

To double check you are using the correct harness - create a new JS file rule that so an ‘alert’ and add it to the same harness - if you do not see the alert popup - then it is likely not the correct harness - liveUI should be able to provide more details