Iframe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2023 09:51 PM - edited 06-08-2023 10:14 PM
I created one action assignment called IFRAME button in incident form if I click the button it was opening an external website like this (added wikipedia webiste in that script)
But if I change the website https://www.google.com, it was showing an error like below
please help me on this, thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2023 10:49 PM
Hi @naresh121 ,
This is because the X-Frame-Options: SAMEORIGIN header is present in the response header from the https://www.google.com/ . This prevents the page from loading in iframes.
You can use this URL instead in as the source of iFrame : https://www.google.com/search?igu=1
It will work as desired
If my answer has helped with your question, please mark it as correct and helpful
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2023 10:54 PM - edited 06-08-2023 11:24 PM
Hi Karan,
its working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2023 11:26 PM - edited 06-12-2023 12:54 AM
Hi Karan,
Google URL was working, but if I change any other URL's with details of login credentials like username and password, its not working. Same above error(refused connect) was coming, please kindly help on this
Regards,
Naresh