The CreatorCon Call for Content is officially open! Get started here.

Help: URL (from Arguments) does nothing at all

yongming
Kilo Explorer

I tried the following (screenshot is shown below) and hoping by clicking the module link, "Google" home page would be shown in the frame.

it used to work for the last version (Geneva, I believe), but not any more with the current version (Helsinki).

clicking the module link, the iframe shows nothing at all.

Please help.

!

find_real_file.png

1 ACCEPTED SOLUTION

Brad Tilton
ServiceNow Employee
ServiceNow Employee

I think at this point most pages block it.


View solution in original post

12 REPLIES 12

Thanks for the information Daniel. I wonder if a CORS Rule would resolve this.



CORS domain requirements


This seems only valid for inbound REST calls. Have not tried it, but reading the docs it seems not applicable.


This is actually an error that is more specific to google than ServiceNow. When you use the url from arguments it's going to automatically open the target link within the main iframe in ServiceNow. Google actually blocks its site from being opened within an iframe so that's why using a new tab or window works.



Generally, a good practice to follow is opening external content in a new tab/window and only opening ServiceNow content in an iframe (main frame or CMS).


Hi Brad,



Thanks for your information.



However, it seems to me that It is not just "Google", and that all external web pages are blocked from being shown in the iFrame.



Yongming


Brad Tilton
ServiceNow Employee
ServiceNow Employee

I think at this point most pages block it.