Display a Kentico page per iframe on a different website

Daniel Weiß asked on July 22, 2021 00:37

How do you enable a Kentico Page to be displayed as an iframe on a different website.

We are currently running Kentico Xperience 13 with ASP.Net Core and need to allow forms (more precisely pages containing nothing but forms) to be displayed in an iframe on a website which has no connection to the Kentico ecosystem.

As far as I have found these links I took into consideration:

But as a result neither CMSEnableClickjackingProtection nor CMSXFrameOptionsExcluded do the trick for me when I set them in the applicationsettings.json.

Recent Answers


Brenden Kehren answered on July 22, 2021 06:59

The site hosting the iframe needs to have the headers modified or allow the site you want to display the form on within it's header. Then you can create a simple widget that has a text input and allow a user to simply copy and paste the iframe code and output it to the site.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.