How do I shorten the portal page URL

Navaneeth1
Tera Guru

I have a scoped custom application that has a record producer being used in a Service Portal page. The link to this page is quite long and has a lot of characters. Is there a way to shorten this URL to only a couple of characters maybe?

I tried using the processors in the system definition but it did not work.

1 ACCEPTED SOLUTION

Hi, try this...

Super Simple URL Shortener for ServiceNow Nerds - ServiceNow Developer Pro-Tips (snprotips.com)

Please mark as helpful or if its resolved the issue, CORRECT!

Andrew Robinson
ServiceNow Developer

Andrew_TND_0-1708100855482.pngFollow me on Linkedin! 

View solution in original post

3 REPLIES 3

Andrew_TND
Mega Sage
Mega Sage

Hi @Navaneeth1 

If you're looking to shorten to shorten a record producers page it can't be done as far as I'm aware because its pointing to the catalog item's sys_id which is why its quite lengthy.

If you want to change the page URL you simply need to change the name of the page in, instance.service-now.com/sp_config

Go to pages, find your page and update the name.

Please mark as helpful or if its resolved the issue, CORRECT!

Andrew Robinson
ServiceNow Developer

AndrewRobinso1_3-1708084013016.png Follow me on Linkedin! 

Hey @Andrew_TND ,

Thank you for your response. I'm looking for something similar to a processor where I can put my pathname and it will redirect to the link (Portal Page with the record producer) that I want it to go to. The link is pretty long so when it's being shared I'd like to keep it short, but once the user puts the short link in the browser it will redirect and should show the actual link. 

Is there a way to do this without the processor?

Hi, try this...

Super Simple URL Shortener for ServiceNow Nerds - ServiceNow Developer Pro-Tips (snprotips.com)

Please mark as helpful or if its resolved the issue, CORRECT!

Andrew Robinson
ServiceNow Developer

Andrew_TND_0-1708100855482.pngFollow me on Linkedin!