Display external website ( page ) in ServiceNow Page

abhiyadav2001
Giga Expert

Hi All,

I have created a UI page in my SNow instance ( Eureka ). In that page, I need to create a hyperlink ( href ) to other website ( say www.google.com ). I tried it in below way.

<iframe name="myFrame"></iframe>   <!-- created my blank frame here -->

<span>

<a class="jive-link-external-small" href="https://www.google.com" rel="nofollow" target="myFrame" target ="_blank"> Click here</a>  

</span>

With this, I experimented a lot.   '_blank' opens a link in new window. If I remove it   ( default choice is _self ) it doesnt work.

I also tried using myFrame. It isn't displaying the page in 'frame'

However, I would like to see the page in my same frame of SNow. Is it possible ?

Where should I look to get more information about it ? If anyone has any idea about it, please let me know.

Note : When I click on 'Click Here' ; browser status bar shows 'waiting for google.com' , but it isn't displaying the google page.

Thanks,

Abhijeet

1 ACCEPTED SOLUTION

abhiyadav2001
Giga Expert

Hi,



I found an issue...



When we try to render an external URL in Snow, browser gives us a security warning to allow to run it.



In Crome, mozilla, a symbol like 'shield' appears in address bar of browser. We need to click ' Allow' there only once. From next time you open the page, it will render the external URL in it.


View solution in original post

10 REPLIES 10

abhiyadav2001
Giga Expert

Hi,



I found an issue...



When we try to render an external URL in Snow, browser gives us a security warning to allow to run it.



In Crome, mozilla, a symbol like 'shield' appears in address bar of browser. We need to click ' Allow' there only once. From next time you open the page, it will render the external URL in it.


great to hear let me try this in demo


Hi Harish,



Let me know if you come across any issues. I will try my best to resolve it. However, few pages are still not being displayed in the browser window.



Thanks,


Abhijeet


Can you tell me how you had your UI page setup.  I'm trying to do something similar where I need an external site to show in a frame

sajan0192
Giga Expert

Hi Abhijeet,
It is working for chrome only. How I can make it working for Firefox as well ??






Regards,
Sajan