Closed
Modal Dialogs are not displayed in Web Embed.
When I try to click on the out-of-the-box "Change Stage" from the web embed, nothing is happening.
No tracer or console errors.
***Edited by Moderator Rupashree S. to add Capability tags***
To see attachments, please log in.
@dliev The issue where modal dialogs, such as the out-of-the-box "Change Stage," are not working in a Web Embed without errors in the tracer or console can occur due to certain restrictions in Pega Constellation. Web Embed often blocks modals to prevent breaking the embedded experience, especially if hosted in an iframe. This could also happen due to cross-origin restrictions when the Pega server and the embedded application are on different domains. Sometimes, modals may load but remain hidden due to CSS settings or JavaScript event suppression. To resolve this, check the browser console in verbose mode for any hidden warnings, inspect the DOM to see if the modal is present but hidden, and verify if the same action works in a standalone Pega application. Ensure that your CORS policies are correctly configured and that the Web Embed settings in App Studio allow modal dialogs. If the issue persists, consider using a side panel instead of a modal or customizing the pyWebEmbedHarness in Dev Studio to explicitly allow modal dialogs using the openModalDialog API.
⚠ This is a GenAI-powered tool. All generated answers require validation against the provided references.