function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Gabriel ArgenalGabriel Argenal 

Cross-origin frame error on Enhanced List vf page

Hi, I'm new to VF. I have a simple VF page that is using the "enhancedList" functionalty to product a custom Activities List page. All the standard buttons seem to be working (like New Task, New Event), except the "Reassign" button is not, When clicked it produces the following error message:

SecurityError: Blocked a frame with origin "[custom domain]" from accessing a cross-origin frame

Does anyone know how to fix?

User-added image
Thanks,
Gabe
Best Answer chosen by Gabriel Argenal
Gabriel ArgenalGabriel Argenal
Thank you for the reply Vinay. I found out that the root of my problem is that the "reassign" button is a custom Onclick JS button that I was thinking was standard for some reason. I need to go through the effort of converting that button for Lightning. Thanks.

All Answers

VinayVinay (Salesforce Developers) 
Hi Gabriel,

Looks like there is known issue for above issue if you are using lightning component.

https://trailblazer.salesforce.com/issues_view?id=a1p3A000000oH6CQAU

Also can you try enabling clickjack protection and see how it goes.

https://help.salesforce.com/s/articleView?id=sf.siteforce_clickjacking_enable.htm&type=5

Please mark as Best Answer if above information was helpful.

Thanks,
Gabriel ArgenalGabriel Argenal
Thank you for the reply Vinay. I found out that the root of my problem is that the "reassign" button is a custom Onclick JS button that I was thinking was standard for some reason. I need to go through the effort of converting that button for Lightning. Thanks.
This was selected as the best answer