Support Article
New browser tab opens when using MSOFileUploadHTML rule
SA-75216
Summary
A new browser tab opens when using the MSOFileUploadHTML rule. This occurs after upgrading to Pega 7.4.
Error Messages
Not Applicable.
Steps to Reproduce
- Upgrade from PRPC 6.3 to Pega 7.4
- Create a button in a section and configure run script as an action
- Use the MSODisplayFileUploadHTML rule and run the flow
Root Cause
A defect in Pegasystems’ code or rules.
The target is populated incorrectly, and the parentWindow.name parameter is not generated correctly. As a result, it is generating a new thread and opening a new tab in the browser.
Resolution
Perform the following local-change:- Open the MSOFileUploadHTML rule and comment the 80th line:
form.target = parentWindow.name; - Save the rule in the application ruleset
Published April 5, 2019 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.