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

OpenURLInWindow not working in grid with urlencryption='true'

SA-38154

Summary



When URL encryption is enabled, OpenURLInWindow is not working when configured as a grid event.

An error is seen: 'NullPointerException in SafeURL.put(key,value) {UserIdentifier}, {null}'
and the new window is coming up as 'No stream to display'.


Error Messages



NullPointerException in SafeURL.put(key,value)

Steps to Reproduce



Setup a grid with an event/action of OpenURLInWindow


Root Cause



When openUrlInWindowis configured at a grid level, the property reference generated in metadata for the openUrlInWindow action has a relative path like ".pyUserIdentifier". The code in pega.desktop.support.openUrlInWindow cannot resolve this due to lack of context information when URL encryption is turned on

Resolution



Perform the following local-change:

OpenUrlInWindow will not work with urlencryption='true' at the grid level (i.e., user clicks on a row). It will work if the click event is configured on a specific cell (column). Move the openUrlInWindow event action to a specific cell (like a link) within the grid, instead of configuring as a grid level event.

Suggest Edit

Published June 20, 2017 - 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