Support Article
Error with Attach a screenshot functionality in IE11
Summary
A window is selected to capture using the Pega provided Capture screenshot flow action. However, on submitting the selection, error messages display. This occurs in Internet Explorer 11 browser.
Scenario: The screen capture fails when opening a modal window in the Internet Explorer browser using the window.showModalDialog method.
Error Messages
Cannot bring selected window to the top
Failed to capture target window
Steps to Reproduce
Use the Attach a screenshot functionality on PRPC 6.2 SP1 in Internet Explorer 11 browser.
Root Cause
A defect in Pegasystems’ code or rules.
The issue occurred due to Microsoft Internet Explorer 11 changes made specifically around the implementation of the window.showModalDialog method. The existing Screen Capture tool source code is not compatible with this change in functionality from Microsoft. The control code cannot be updated to provide the screen capture functionality that existed previously with the Internet Explorer 8 implementation of the window.showModalDialog method.
Resolution
Perform the following local-change:
In later versions of Pega, the ActiveX Screen Capture functionality is not available.
Use the following alternative tools for ActiveX-based Pega platform features.
For screen captures, use either of the following:
- SnagIt
- GreenShot
- ScreenCapture
Additionally, a recommendation is to use the Windows Snipping tool to capture the required screenshot of both the parent and child window and then use the PRPC screen capture facility to capture the Snipped window display which contains the image of both windows. This minimizes the need to save and manage the image locally and still allow the use of the Pega screen capture facility in the immediate term.
Technically, the implementation of the ActiveX control is approaching the end of its life and as per the published PDN article ActiveX controls are now deprecated from Pega 7.3 and later and support for issues is limited.
For more information, refer to: https://pdn.pega.com/deprecation-microsoft-activex-controls-pega-platform/deprecation-microsoft-activex-controls-pega
Published September 29, 2018 - 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.