Mashup doesn't work correctly within Harness

We need to embed Mashup code into another PEGA applicaiton’s harness.

The Mashup was tested OK with a static HTML, but it’s not working with PEGA’s harness.

Generally, the problem is with the Mashup size.

With the static HTML, the Mashup can be displayed with full screen - which is exptected.

But with PEGA’s hareness, it’s not showing full screen, the height of visible area is extemly small.

We have tried the Mashup attribute data-pega-resizetype with both “fixed” and “stretch” , none of them is working.

Would be apprecited if anyone can help.

@GAVINHSU

Fianally, we’ve got the solution.

We added a new JSP file into prweb.war, within this JSP file, we added the Mashup code.

And then include this JSP in harness, which makes the Mashup works perfectly.

Just FYI~

@GAVINHSU previously have you generated mashup code from app studio? And you used that code in a pega harness?