KX Community

Find answers, ask questions, and connect with our KX Community around the world.
KX Community Guidelines

Home Forums KX Solutions question about external content of kx dashboards

  • question about external content of kx dashboards

    Posted by xian on January 25, 2024 at 12:00 am

    I would like to apply a component called “external content” to show a web page on my dashboard. I find it work well when the URL is a domain name like https://cn.bing.com/ , but it reports invalid URL when the URL likes ip:port. Is there any way for me to show a page with URL like ip:port ?

    xian replied 9 months, 3 weeks ago 2 Members · 1 Reply
  • 1 Reply
  • megan_mcp

    Administrator
    January 29, 2024 at 12:00 am

    Hi  !

    The external component is using <iframe> to render external content so using “ip:port” is ok.
    The problem is that CORS (cross origin resource sharing) policies have changed over time (more restrictive now than they used to be, because of security risks), so accessing other url(ip:port) than of the origin, requires extra http-headers configuration (probably on both sides: origin/iframe).

    Hope this helps!

    Thanks,

    Megan

Log in to reply.