简体   繁体   English

如何从 iframe 关闭 Apex 模态页面?

[英]How to close Apex Modal page from iframe?

I have an Apex 19.2 page.我有一个 Apex 19.2 页面。 Inside the page there is an iframe from another page of the same application.该页面内有来自同一应用程序的另一个页面的 iframe。

Once some process are successful inside the iFrame, I would like to allow the user to close the modal page by clicking a button inside the iFrame.一旦 iFrame 中的某些过程成功,我想允许用户通过单击 iFrame 中的按钮来关闭模式页面。

I tried a dynamic action with Close/Cancel dialog but it's not working.我尝试使用关闭/取消对话框进行动态操作,但它不起作用。

Has anyone an idea how to do that please?有人知道该怎么做吗?

Thanks, cheers,谢谢,干杯,

在此处输入图像描述 . .

Here is the solution.这是解决方案。

From the iFrame:从 iFrame:

parent.apex.navigation.dialog.close(true)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM