Menu URL to external site not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2022 11:41 AM
Hi,
Im trying to create a menu URL item on the Employee Center with an external URL. For example cnn.com.
One of a way the url target attribute _blank is being ignored.. so Servicenow now add www.cnn.com (or partly) behind the normal / existing url.
Anybody has anythoughts how to solve this?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2022 12:29 PM
Did you actually test this on Employee Center (where it's a defect)? Or Service Portal (where it works)?
Kind regards,
Mark
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2022 12:33 PM
Hi,
I did not, but I'll certainly try that and report back.
The exact issue the author mentions is literally what happens when you don't use the http:// prefix, etc.
So that's where I was coming from.
I'll check EC, thanks for redirecting me.
-Allen
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2022 12:35 PM
I just double checked again on Employee Center (not Employee Center Pro), also with the latest store update, still doesn't work. With https prefix, without, both don't work. Also target _blank, doesn't work.
If I recall from the support case, the engineer suggested to change the Theme of Employee Center (because the issue is somewhere within there) to the one of Service Portal... ofcourse that's not a serious solution 😞
Kind regards,
Mark
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2022 12:40 PM
Just to add: this concerns Employee Center portal, not Employee Service Center portal.
Kind regards,
Mark
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2022 01:34 PM
Thanks Mark.
So, the link does work for me...but it is ignoring the URL target value I've put there.
At a minimum though, the browser does go to the link, but it overrides the current browser tab which was the EC portal...with the target URL:
From what I'm hearing, it was baked in to the SP somewhere, that it would accept the URL target field value in the script (where ever that's at). Basically, it was pre-defined to look for or except a value for the URL target however, it doesn't seem to be the same for EC portal. I'm trying to find where it's doing that in the SP theme (since support said to use the other theme, which I agree, is a very poor suggestion, heh).
EC Pro not installed:
Anyways, as far as one of the issues they mentioned, where the URL was appending itself to the SN URL, that can be resolved by using the http:// or https:// prefix. The target of _blank, yeah, that's not working although when I get more time, I'm trying to dig in a bit more and see what's up.
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!