Open URL in main SN window

danwaite
Tera Expert

I've created an application menu with a URL module, I want this URL to open within the main ServiceNow window when the menu item is clicked, however when it does this I just get a blank window. If I set window name to _blank it opens in a new tab without any problems, so doesn't seem to be an issue with the site.

Any help would be appreciated, thanks!

1 ACCEPTED SOLUTION

danwaite
Tera Expert

OK I've figured out where I was going wrong. The site I was trying to embed was not HTTPS which was causing a security error. The method I used worked perfectly when embedding this site. I've temporarily worked around the issue by using an SSL proxy but this obviously isn't an ideal solution. Just going to have to get an SSL cert!


View solution in original post

3 REPLIES 3

Uncle Rob
Kilo Patron

Be sure to only use the relative URL, not the full one.   You can look at the list of modules that have a link type of "URL from arguments" for some examples:



find_real_file.png


I don't think I quite explained myself properly, it is an external URL to a training site that my company uses that I want to open within the main SN window.


danwaite
Tera Expert

OK I've figured out where I was going wrong. The site I was trying to embed was not HTTPS which was causing a security error. The method I used worked perfectly when embedding this site. I've temporarily worked around the issue by using an SSL proxy but this obviously isn't an ideal solution. Just going to have to get an SSL cert!