Content Control

  • 4 June 2020
  • 1 reply
  • 14 views

Hi

 

I'm having difficulty using the content control. I can't get it to display any content based on the given URL.

I've tried in Chrome and Edge.

 

Am I missing something? I've followed the online guide, I'm using K2 5.3 FP 23.

 

Screensshot attached - issue is in designer and runtime


11925i426CE00051FF0265.png


1 reply

Badge +12

Hello,

Could you try specifying the protocol in the URL?
eg. https://www.google.com.sg

Without https, it defaults to http. Chrome will see that as a problem and you'll find an error logged on the browser during runtime:




Running the form/view even after this could lead to the same result but this time it would probably be due to the X-FRAME-OPTIONS header set to SAMEORIGIN. 

If you try to frame one of your runtime forms or any of the K2 sites (eg. Workspace), the preview on Designer and on runtime should work.


Reply