You need to sign in to do that
Don't have an account?
Sadik Shaik 3
Uncaught DOMException: Blocked a frame with origin "https://hp--ngitdev--c.cs8.visual.force.com" from accessing a cross-origin frame. at showBox
Hi,
I am using a visualforce page to display the data in table fromat which fetch the data from external system using apex controller.
Now i have to enable the VF page to lightning so that i have added lightningstylesheet='true' in apex:page> tag and i have enabled Available for Lightning Experience, Lightning Communities, and the mobile app on visualforce page.
in th table i have a field label called ordernumber that is a command link in vf page.
when i click on the order number it sould open a popup window and display the content. it is workig in salesforce classic but i am getting below error in lightning.
Error:OMGetOpportunityOrderListPage?id=0061V00000h7FvXQAU&tour=&isdtp=p1&sfdcIFrameOrigin=https://hp--ngitdev.lightning.force.com&sfdcIFrameHost=web&nonce=0e2b097567482f81256e066fc4dfa917350111858dbe54a803b1d80747009f42<n_app_id=06m270000002x6ZAAQ&clc=0:30 Uncaught DOMException: Blocked a frame with origin "https://hp--ngitdev--c.cs8.visual.force.com" from accessing a cross-origin frame.
at showBox (https://hp--ngitdev--c.cs8.visual.force.com/apex/OMGetOpportunityOrderListPage?id=0061V00000h7FvXQAU&tour=&isdtp=p1&sfdcIFrameOrigin=https://hp--ngitdev.lightning.force.com&sfdcIFrameHost=web&nonce=0e2b097567482f81256e066fc4dfa917350111858dbe54a803b1d80747009f42<n_app_id=06m270000002x6ZAAQ&clc=0:30:30)
at a (https://hp--ngitdev--c.cs8.visual.force.com/apex/OMGetOpportunityOrderListPage?id=0061V00000h7FvXQAU&tour=&isdtp=p1&sfdcIFrameOrigin=https://hp--ngitdev.lightning.force.com&sfdcIFrameHost=web&nonce=0e2b097567482f81256e066fc4dfa917350111858dbe54a803b1d80747009f42<n_app_id=06m270000002x6ZAAQ&clc=0:1:18)
at HTMLAnchorElement.onclick (https://hp--ngitdev--c.cs8.visual.force.com/apex/OMGetOpportunityOrderListPage?id=0061V00000h7FvXQAU&tour=&isdtp=p1&sfdcIFrameOrigin=https://hp--ngitdev.lightning.force.com&sfdcIFrameHost=web&nonce=0e2b097567482f81256e066fc4dfa917350111858dbe54a803b1d80747009f42<n_app_id=06m270000002x6ZAAQ&clc=0:1:421)
showBox @ OMGetOpportunityOrderListPage?id=0061V00000h7FvXQAU&tour=&isdtp=p1&sfdcIFrameOrigin=https://hp--ngitdev.lightning.force.com&sfdcIFrameHost=web&nonce=0e2b097567482f81256e066fc4dfa917350111858dbe54a803b1d80747009f42<n_app_id=06m270000002x6ZAAQ&clc=0:30
a @ OMGetOpportunityOrderListPage?id=0061V00000h7FvXQAU&tour=&isdtp=p1&sfdcIFrameOrigin=https://hp--ngitdev.lightning.force.com&sfdcIFrameHost=web&nonce=0e2b097567482f81256e066fc4dfa917350111858dbe54a803b1d80747009f42<n_app_id=06m270000002x6ZAAQ&clc=0:1
onclick @ OMGetOpportunityOrderListPage?id=0061V00000h7FvXQAU&tour=&isdtp=p1&sfdcIFrameOrigin=https://hp--ngitdev.lightning.force.com&sfdcIFrameHost=web&nonce=0e2b097567482f81256e066fc4dfa917350111858dbe54a803b1d80747009f42<n_app_id=06m270000002x6ZAAQ&clc=0:1
Please help me with this issue.
Thanks and Regards,
Sadik
I am using a visualforce page to display the data in table fromat which fetch the data from external system using apex controller.
Now i have to enable the VF page to lightning so that i have added lightningstylesheet='true' in apex:page> tag and i have enabled Available for Lightning Experience, Lightning Communities, and the mobile app on visualforce page.
in th table i have a field label called ordernumber that is a command link in vf page.
when i click on the order number it sould open a popup window and display the content. it is workig in salesforce classic but i am getting below error in lightning.
Error:OMGetOpportunityOrderListPage?id=0061V00000h7FvXQAU&tour=&isdtp=p1&sfdcIFrameOrigin=https://hp--ngitdev.lightning.force.com&sfdcIFrameHost=web&nonce=0e2b097567482f81256e066fc4dfa917350111858dbe54a803b1d80747009f42<n_app_id=06m270000002x6ZAAQ&clc=0:30 Uncaught DOMException: Blocked a frame with origin "https://hp--ngitdev--c.cs8.visual.force.com" from accessing a cross-origin frame.
at showBox (https://hp--ngitdev--c.cs8.visual.force.com/apex/OMGetOpportunityOrderListPage?id=0061V00000h7FvXQAU&tour=&isdtp=p1&sfdcIFrameOrigin=https://hp--ngitdev.lightning.force.com&sfdcIFrameHost=web&nonce=0e2b097567482f81256e066fc4dfa917350111858dbe54a803b1d80747009f42<n_app_id=06m270000002x6ZAAQ&clc=0:30:30)
at a (https://hp--ngitdev--c.cs8.visual.force.com/apex/OMGetOpportunityOrderListPage?id=0061V00000h7FvXQAU&tour=&isdtp=p1&sfdcIFrameOrigin=https://hp--ngitdev.lightning.force.com&sfdcIFrameHost=web&nonce=0e2b097567482f81256e066fc4dfa917350111858dbe54a803b1d80747009f42<n_app_id=06m270000002x6ZAAQ&clc=0:1:18)
at HTMLAnchorElement.onclick (https://hp--ngitdev--c.cs8.visual.force.com/apex/OMGetOpportunityOrderListPage?id=0061V00000h7FvXQAU&tour=&isdtp=p1&sfdcIFrameOrigin=https://hp--ngitdev.lightning.force.com&sfdcIFrameHost=web&nonce=0e2b097567482f81256e066fc4dfa917350111858dbe54a803b1d80747009f42<n_app_id=06m270000002x6ZAAQ&clc=0:1:421)
showBox @ OMGetOpportunityOrderListPage?id=0061V00000h7FvXQAU&tour=&isdtp=p1&sfdcIFrameOrigin=https://hp--ngitdev.lightning.force.com&sfdcIFrameHost=web&nonce=0e2b097567482f81256e066fc4dfa917350111858dbe54a803b1d80747009f42<n_app_id=06m270000002x6ZAAQ&clc=0:30
a @ OMGetOpportunityOrderListPage?id=0061V00000h7FvXQAU&tour=&isdtp=p1&sfdcIFrameOrigin=https://hp--ngitdev.lightning.force.com&sfdcIFrameHost=web&nonce=0e2b097567482f81256e066fc4dfa917350111858dbe54a803b1d80747009f42<n_app_id=06m270000002x6ZAAQ&clc=0:1
onclick @ OMGetOpportunityOrderListPage?id=0061V00000h7FvXQAU&tour=&isdtp=p1&sfdcIFrameOrigin=https://hp--ngitdev.lightning.force.com&sfdcIFrameHost=web&nonce=0e2b097567482f81256e066fc4dfa917350111858dbe54a803b1d80747009f42<n_app_id=06m270000002x6ZAAQ&clc=0:1
Please help me with this issue.
Thanks and Regards,
Sadik