I have dashboard in dynamic 365 use iframe inside.
in my webresource
<html><head>
<meta name="viewport" content="width=device-width, user-scalable=no">
<meta charset="utf-8">
<script src="..//WebResources/new_jquery.min.js"></script>
<script src="..//WebResources/new_ConstantValue"></script>
<meta><meta><meta><meta><meta><meta></head>
<body style="overflow-wrap: break-word; overflow: hidden;" onfocusout="parent.setEmailRange();">
<iframe style="width: 100%; height: 100%" src="https://apps.powerapps.com/play/[app id]?source=website&hidenavbar=true" sandbox="allow-forms allow-pointer-lock allow-popups allow-same-origin allow-scripts allow-top-navigation" referrerpolicy="no-referrer
no-referrer-when-downgrade
origin
origin-when-cross-origin
same-origin
strict-origin-when-cross-origin
unsafe-url" allowfullscreen="true">
</iframe>
</body></html>
I wanna redirect www.test.com in iframe but use Launch('www.test.com',{},Replace) then power app redirect this page (windown.top in javascript) I wanna windown.self.
In crm https://i.stack.imgur.com/9isL6.jpg
In powerapp https://i.stack.imgur.com/im3A4.jpg
so How I do? Thank you!