When I try to include the following VF page into the layout:
<apex:page standardController="Account"> <h1>Hi</h1> </apex:page>
I get the "URL no longer exists" error when the record detail view opens:
The error is a known salesforce behavior that is related to the clickjacking feature. See this Knowledge Article 000230608. The only solution offered is the deactivation of the clickjacking feature. But when I deactivate the feature it is considered a "high risk" in the security audit and under "Critical Updates" it is marked for auto-activation in 30 days.
So my question is: How can I create an inline VF page without deactivating clickjacking?
The specific clickjacking options are: "Enable clickjack protection for customer Visualforce pages with standard headers" or "Enable clickjack protection for customer Visualforce pages with headers disabled".
I simply can not believe that there is no workaround for this issue, a lot of apps and packages rely on inline VF pages, will they all stop working when this feature is auto-enabled? Is inline VF deprecated and should no longer be used?