How to configure iframe widget "To launch IFrame in Drawer component" in pega constellation?

Hi,
I want to use this widget to show something as an iframe but in its configurations it is asking for properties like “External URL”, “Placement”, “Transition speed”, “Button Name”. I want to know where i can hardcode these properties so that i can refer them here in the widget. Is there any Data page or Data transform or anything running at the backend when the Portal launches so that i can hardcode these properties there ?
In case if this is not the right approach then, please suggest me what i can do to call external non-pega application inside my pega application.

Thanks

This is the solution for the current approach.
Create a pyDefault data transform in the UI pages class of your application.

These values will be set in runtime.

Regarding the question that if there is a better approach present, I think its always better to launch any external application in another new tab rather than launching it an iframe inside Pega. But, If you strictly want it inside Pega, in a landing page, this is the only OOTB option. But if we want it inside the case, then we have another Field DX component.

I implemented this approach and it is working but i am getting this page now. Can you suggest me what i can do in this case.

Google does not support embedding in an iframe. Please add a URL that supports embedding

It would be good idea to configure the necessary property values directly in the Widget. Couple of Widgets allow configuration to be done at design time to ensure that the developers can configure those items. DX Components internally read it from config and perform the necessary actions.