Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Pega Application from IAC not working Properly

SA-8294

Summary



Pega Application from IAC not working properly.  This is an implmentation of a full Smart Disputes portal via IAC into a host application.

Several issues reported:

1)Unable to Load the application from IE browser ver. 9 ,Chrome.(Screenshot attached)

2)Even when we try to login to Pega application from IAC in IE8 (using hardcoded credentials ) few functionality of the application are not working properly and we are getting script errors.Though its working fine as standalone (without IAC).Script Errors Attached below.




Error Messages



NA

Steps to Reproduce



NA

Root Cause



The root cause of this problem were several  defect/misconfiguration in the operating environment. 

Same Domain Orgin Policy:

This was not being satisfied in the environment causing problems with the initial page load, requests not even being made by the browser. Same Domain Origin Policy was corrected by the client network infrastructure team.



Internet Explorer - Host application using standards mode:

The host application is using HTML 5/CSS 3 and requires IE standards mode. The end user portals in 6.3SP1 for IE 8/9/10 require quirks mode. When imbedding PRPC into a host application the Iframe generated for the PRPC content will inherit the browser mode of the host application. Javascript erorrs were occuring in the loading of the PRPC portal directly related to scripting that will not work in standards mode
.


Resolution



Internet Explorer - Host application using standards mode:

To solve the problem with Internet Explorer and running PRPC 6.3SP1 in standards mode the following two minor changes were made as local changes on the client environment:

pega_ui_doc.js: _harnessOnLoad

Removed the IE 8 progress bar fix code.

pegaCompositegadgetMgr.js: _setIframe

Changed to use:  this._oDoc.createElement("IFRAME");

This has allowed the end user portal to properly display embedded within the host application. Client testing has not resulted in any issue directly related to running the portal in an iframe running in standards mode. Problems could be found later and they may not be able to be resolved directly.  To properly support IE standards mode PRPC 7 needs to be used.

We know that IE 11 for example will not work as standards mode for IE 11 required changes even in PRPC 7.

Overall recomendation to the client was to upgrade to PRPC 7. This will work best with the host application as both applications require IE standards mode.
Suggest Edit

Published January 31, 2016 - Updated December 2, 2021

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us