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

Unable to open PDF on IOS using Open URL in Window



On a table containing results of cases, unable to view PDFs using a Click action on a table column. The Click action uses the 'Open URL in Window' action. On triggering the action on an iOS mobile device, the overlay opens and images display for PNGs; however, for other file types such as PDFs, random characters display. This function works correctly on a desktop system.

Error Messages

Not Applicable

Steps to Reproduce

  1. Create a table that sources cases with attachments.
  2. Create an action set on Click for a column that executes the 'Open URL in Window'.
  3. Create a process to obtain the pzInsKey of one of the attachments.
  4. Use the pzInsKey of the attachment in a step to Call GetAttachmentReference.
  5. In the action, set the Window Name.
  6. Log in to a mobile.
  7. Click the table column to open the attachment. The PDF attachment displays incorrectly.

Root Cause

Open URL in Window does not work for a mobile application.


Perform the following local-change:
  1. Invoke the pega.ui.HarnessActions.doAttachmentSingleClick JavaScript function on click of a button or a link.
  2. Pass the two parameters:

    - Inskey
    - LinkedRefto

Published July 4, 2020 - Updated December 2, 2021

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