Hi,
I am following this doc to set up target.
Create an Experience Targeting activity
The visual experience composer works for me local page. However, when I try to browse any server website, there are errors like: Refused to display 'the url' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
I followed the instruction on Adding X-FRAME-OPTIONS to response on AEM 6.2 but obviously this ticket is not even solved. I still have the X-Frame-Option inside my response header.
Appreciate for any help.
Solved! Go to Solution.
Views
Replies
Total Likes
HI,
Here's the general information on trouble shooting VEC issues. Troubleshooting the Visual Experience Composer and Enhanced Experience Composer
However, I believe your issue seems specific to X-Frame-Options.
To overcome this could you please try turnin OFF the EEC, (To disable the Enhanced Experience Composer, go to Setup > Preferences and turn off the Enable Enhanced Experience Composer option.)
And then do the following, use a browser extension like Requestly (Chrome or Firefox) or Modify Response Headers (Firefox) that can overwrite the X-Frames header options for your site and allow them to be loaded in iFrames, enabling the VEC.
To use the Requestly extension on Chrome or Firefox:
Views
Replies
Total Likes
HI,
Here's the general information on trouble shooting VEC issues. Troubleshooting the Visual Experience Composer and Enhanced Experience Composer
However, I believe your issue seems specific to X-Frame-Options.
To overcome this could you please try turnin OFF the EEC, (To disable the Enhanced Experience Composer, go to Setup > Preferences and turn off the Enable Enhanced Experience Composer option.)
And then do the following, use a browser extension like Requestly (Chrome or Firefox) or Modify Response Headers (Firefox) that can overwrite the X-Frames header options for your site and allow them to be loaded in iFrames, enabling the VEC.
To use the Requestly extension on Chrome or Firefox:
Views
Replies
Total Likes