How can I change the URI_REF base URL?

davehurley
Giga Contributor

Hello All,

 

I'm using a reverse proxy to display an internal URL to my customers, but the URI_REF variable in the OOB notifications references the standard company.service-now.com domain. Is there a way to modify that? I'm sure it's pulling from a property somewhere, but I don't know which or what the ramifications of changing it might be.

 

Thanks in advance for reading my post. I hope you can help 🙂

-Dave

 

In way of trade, we're using SN to host a software catalog which allows customers to have software automatically installed on their machines (SCCM) or to download a self install package. If you've got any questions about how we're doing it, I'd be glad to answer them.

1 ACCEPTED SOLUTION

You just keep using URI_REF as usual and the value returned would be the value of the property instead of the instance's URL.



But if you need to get the value, you can use gs.getProperty("glide.email.override.url")


View solution in original post

7 REPLIES 7

chris_czerniak
ServiceNow Employee
ServiceNow Employee

Try adding this property:


glide.servlet.uri



Set the value to your new url. Not positive if it will work but saw some information that said the property is meant to be used with reverse proxies.


Navigating by URL - ServiceNow Wiki


Jim Coyne
Kilo Patron

I was just curious if Chris' suggestion helped you out?   Otherwise, a brute force way of doing it would be to create a Business Rule on the Email table that replaces the URL strings.


looks like our professional service guys changed/added a property called glide.email.override.url type=string, value=https://yoururl/nav_to.do and private=true


OK thanks for the update.