
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2016 07:21 AM
We use a reverse proxy with an internal URL as well as the standard external *.service-now.com URL. I would like the glide.servlet.uri (property used to generate permalinks) to be set to a dynamic value like this: javascript:location.href.substring(0, location.href.indexOf("?")); It doesn't work. Does anyone know of a way to force it to evaluate the javascript?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2016 07:26 AM
Hi Brian,
As far as I know, properties are meant to be static values (hence the reason they are cached for performance reasons.) The only way to make this dynamic is to script it where ever the property is used. While this may be possible in some places (e.g. notifications or business rules) it's not always accessible to the customer.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-10-2017 11:29 AM
People solve this issue in a lot of different ways. You should try posting a new discussion to get an in-depth conversation going.
For us, we are integrated with an SSO solution, so there is a single-sign-on script called MultiSSO_SAML2_Update1 that is run on login. It calls a function setActionRedirectURL. You can add some custom code there to set the base url to your portal. In our case, we created a custom table to direct users to various pages or portals based on their roles.