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

Java script error while opening attachment from adjustment tab

SA-9083

Summary



Receive a javascript error when attaching documents in Smart Investigate.

Error Messages



'pega' is undefined

Steps to Reproduce



Opening an HMI attachment from adjustment tab throwing java script errors.

Root Cause



Developers are showing an html rule using show-html method of activity. This html rule has a section included.The section that is included in the html here will have components(Grid in this case) that bring along some javascript files(pzPega_ui_grid in this case). These js files use some pega namespaces that are initialised in several other js files which get included in every harness. This html should also include those js files.

Resolution



local change was provided as to include "WorkFormStandard" in the head of the HTML rule.
Suggest Edit

Published June 12, 2015 - Updated October 8, 2020

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