- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2024 01:50 AM
We have a URL that we would like to display on our Employee Service Centre, as a Quick Link.
The URL is:
https://[REDACTED].sabacloud.com/Saba/Web_spf/EU2PRD0075/app/shared/calendar;spf-url=common%2Fcalendar%2F%3Fcontext%3Dplan
As you can see there are two elements of "%2F", before and after "calendar".
When this URL is added to an External Link, ServiceNow amends the URL and replaces the "%2F" with a /, which causes the link to break.
https://[REDACTED].sabacloud.com/Saba/Web_spf/EU2PRD0075/app/shared/calendar;spf-url=common/calendar/%3Fcontext%3Dplan
Would it be possible to stop ServiceNow overwriting the "%2F"?
Appreciate any advice!
Michael
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2024 09:58 AM - edited 05-30-2024 09:59 AM
Hey @MichaelCreatura ,
You can try approach 2: By using a URL Shortener
Create a Short URL:
- Go to a URL shortening service like bit.ly or tinyurl.com.
- Create a new shortened URL using the problematic URL.
Use the Short URL in ServiceNow:
- Use the generated short URL as the quick link in your ServiceNow instance.
If you find my response helpful, please consider marking it as the 'Accepted Solution' and giving it a 'Helpful' rating. Your feedback not only supports the community but also encourages me to continue providing valuable assistance.
Thanks,
Amitoj Wadhera
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2024 09:57 PM - edited 05-23-2024 09:58 PM
Hi @MichaelCreatura ,
I also faced the similar issue and then I tried to double encode the URL. It solved my issue, you can give it a try too!
Double-encoded URL:
https://[REDACTED].sabacloud.com/Saba/Web_spf/EU2PRD0075/app/shared/calendar;spf-url=common%252Fcalendar%252F%3Fcontext%3Dplan
If you find my response helpful, please consider marking it as the 'Accepted Solution' and giving it a 'Helpful' rating. Your feedback not only supports the community but also encourages me to continue providing valuable assistance.
Thanks,
Amitoj Wadhera
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2024 12:54 AM
Thanks, @Amitoj Wadhera - looks like that is nearly there but now the URL is just stuck on loading and doesn't actually load the target page.
Not sure if you came across that?
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2024 07:19 AM
Hello @Amitoj Wadhera - wondering if you had any advice on how I might fix this? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2024 09:58 AM - edited 05-30-2024 09:59 AM
Hey @MichaelCreatura ,
You can try approach 2: By using a URL Shortener
Create a Short URL:
- Go to a URL shortening service like bit.ly or tinyurl.com.
- Create a new shortened URL using the problematic URL.
Use the Short URL in ServiceNow:
- Use the generated short URL as the quick link in your ServiceNow instance.
If you find my response helpful, please consider marking it as the 'Accepted Solution' and giving it a 'Helpful' rating. Your feedback not only supports the community but also encourages me to continue providing valuable assistance.
Thanks,
Amitoj Wadhera