Question
Delta Dental of California
US
Last activity: 28 Mar 2025 19:59 EDT
Inline attachment preview in constellation
we have requirement to show inline preview of attached document in Pega constellation app. Is there way to achieve with OOTB of constellation
-
Reply
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Updated: 28 Mar 2025 19:48 EDT


Pegasystems Inc.
US
@Satya Bollenkula the DisplayPDF is available on 24.1 https://github.com/pegasystems/constellation-ui-gallery/releases/tag/2.0.4 and 24.2 https://github.com/pegasystems/constellation-ui-gallery/releases/tag/3.0.4
For any other enhancement request or bug fixes, please consider participating to the project and proposing a branch - see https://pegasystems.github.io/constellation-ui-gallery/?path=/docs/support-and-contributing--docs


Infosys
IN
@Satya Bollenkula Hi is this resolved? As we are also trying to achieve the same functionality.


Pegasystems Inc.
GB
@srikantha1043 @Satya Bollenkula I did a search on MSP GenAI Support Buddy and this was the answer:
Reference:
How to show attachment content in a pop_up window in Pega Constellation
cc @Marc Alderman please add any comments if necessary.
Delta Dental of California
US
we are looking for inline preview attachment without downloading or opening the document in separate window simliar to pzAttachmentPreview in theme-cosmos, Display Attachments widget just displays attachment names


Pegasystems Inc.
GB
@Kamil Janeczek @RichardMarsot could you please respond?
@Satya Bollenkula The default Display Attachments widget only shows attachment names and does not support inline preview.
From the documentation:
You can consider using the pzAttachmentPreview functionality, which allows for inline previews without downloading or opening documents in a separate window. If your application is migrated from an older version, ensure that you refactor the code to utilize the latest features available in Theme Cosmos. Additionally, you might need to add specific activities to your data page to pull attachments correctly for inline viewing.
How to bring back the old attachment utility in Theme Cosmos
Flexible UI with Constellation
Updated: 28 Mar 2025 13:45 EDT


Pegasystems Inc.
PL
@Satya Bollenkulayou would need a dx component to do this. Take a look on recent addition to Constellation UI gallery by @RichardMarsot https://pegasystems.github.io/constellation-ui-gallery/?path=/docs/fields-display-pdf--docs
This show case how to open pdf in a modal without the need to download it. Example is with modal but in a similar way you can render it inline.


Pegasystems Inc.
US
@Satya Bollenkula as Kamil indicated this new component was released this week - a PDF binary file or attachment can be provided inside a text property to render the PDF inline inside the form or if a DP is provided, the pdf will be shown in a modal dialog.
Delta Dental of California
US
Thank you @RichardMarsot for your quick response, It seems below link is broken, Please see above image. could you please check and let me know the right one


Pegasystems Inc.
PL
@Satya Bollenkula try here: https://pegasystems.github.io/constellation-ui-gallery/?path=/docs/fields-display-pdf--docs
Delta Dental of California
US
@Kamil Janeczek - Thank you very much, can you please include this control in Constellation UI Gallery 3.0.3 here https://github.com/pegasystems/constellation-ui-gallery/releases
Accepted Solution
Updated: 28 Mar 2025 19:48 EDT


Pegasystems Inc.
US
@Satya Bollenkula the DisplayPDF is available on 24.1 https://github.com/pegasystems/constellation-ui-gallery/releases/tag/2.0.4 and 24.2 https://github.com/pegasystems/constellation-ui-gallery/releases/tag/3.0.4
For any other enhancement request or bug fixes, please consider participating to the project and proposing a branch - see https://pegasystems.github.io/constellation-ui-gallery/?path=/docs/support-and-contributing--docs
Delta Dental of California
US
@RichardMarsot , @Kamil Janeczek - Thank you