I have a Detail Page Button on opportunity that open Visualforce page. From this Visual force page I can navigate through multiple Visualforce pages.That was working very well and without any changes in the code it stopped to work. The first Visualforce page of the flow is displaying correctly but when I navigate to the second , I get this error:

Refused to display 'https://myDomain.visualforce.com/apex/ProductByCategoryList?catId=a004J0000018oskQAA&oppId=0064J000002BAhtQAG' in a frame because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self'".

From what I see on google the problem is that salesforce don't allow Iframe with low level security but here the Iframe is generate by salesforce itself. If you have any Idea...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.