Question
Deloitte
Deloitte
IN
Deloitte
Posted: Feb 10, 2025
Last activity: Feb 19, 2025
Last activity: 19 Feb 2025 6:46 EST
Closed
Image Settings in URL
In Pega Infinity 23.x, I was able to add an image URL in a Constellation UI and display it on the next screen. However, after upgrading to Pega 24.2, the image does not load when using the same approach.
- Navigate to the relevant UI screen in Constellation.
- Add an image URL in an input field or property(i.e url type property).
- Navigate to the next screen where the image should be displayed.
- Observe that the image does not load.
***Edited by Moderator Ellen to add Capability tags***
To see attachments, please log in.
@PrakashC16595493
Possible Causes:
Security Restrictions on External Image URLs
Changes in Constellation UI Handling of URLs
imgtag.Changes in Property Rendering Behavior
@PrakashC16595493
Possible Causes:
Security Restrictions on External Image URLs
Changes in Constellation UI Handling of URLs
imgtag.Changes in Property Rendering Behavior
Text (URL)property, Constellation might now require an image component.Solution Approaches:
1. Validate CSP (Content Security Policy) Settings
Dev Studio → Records → Security → Content Security Policy2. Use the
ImageWidget Instead of Binding URL Directlyimgtag, use the Constellation Image Component:3. Store the Image in Pega and Reference It
4. Debug with Browser Dev Tools
F12) → Console & Network:Blocked by Content Security Policy).Conclusion:
Imagecomponent instead of directly binding a URL.This should restore image rendering in Constellation UI after the upgrade.
Let me know if you need further refinements!