Question

1
Replies
202
Views
MadhanR7 Member since 2013 5 posts
Cognizant
Posted: 3 years ago
Last activity: 3 years 5 months ago
Closed

Implementing Iframe using post method

Hi

I tried to implement iframe using post method and it is not working getting blank screen. When i hardcode direct URL without POST it is working. Find below the snapshot of my code. Included this HTML in section and called it in flow action. Please help to fix this.

<html>
<body onload="document.frm1.submit()">
<form action="<pega:reference name="UIPRes.UIPURL" mode="literal"/>" method="POST" target="iframeUIP" >
<input type="hidden" name="serviceId" value="<pega:reference name="UIPRes.sessionID" mode="literal"/>" />

</form>
<iframe name ="iframeUIP" scrolling="no" align="centre" frameborder="0" style="position:relative;height: 100%; width: 100% ;Left:15;top:-10">
</iframe>
</html>

***Updated by moderator: Lochan to add Categories***

User Interface
Moderation Team has archived post
Share this page LinkedIn