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

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

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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