Support Article
openNewFormWithKey() function stops working after Pega 7 upgrade
SA-9551
Summary
The openNewFormWithKey() does not work after the application is upgraded from PRPC 5.5 to Pega 7.1.5. A webpage error pops up.
Error Messages
Object doesn't support property or method 'openNewFormWithKey'
Steps to Reproduce
1. In a non-autogenetrated section, use href tag to refer openNewFormWithKey function.
2. Click the link.
Root Cause
The reference to PRWBScripts HTML fragment has been missed out in the HTML code that refers openNewFormWithKey function.
Resolution
This is resolved by a Local-change. Include the below codesnippet into the non-auto generated section.
{ include PRWBScripts }
Published May 11, 2015 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.