gs.action.getGlideURI().get('x_referer')

swami_n
Kilo Contributor

gs.action.getGlideURI().get('x_referer') - Post Istanbul upgrade getGlideURI is not returning x_referer anymore ..Because of this i am unable to access parameters from URL in a map pge script ? I will appreciate your insights on this.

Thanks

Swami

9 REPLIES 9

Chuck Tomasi
Tera Patron

A couple things to try:



ScopedGlideURI



or if it is in a UI action, how about action.getGlideURI()


Hi Chuck,



I have written this gs.action.getGlideURI() in a map page script in a scoped application,


The map page is being called from a 'Client' enabled UI Action


I tried the following methods below, but no luck yet



- gs.action.global.getGlideURI('x_referer')


- gs.action.global.getGlideURI(parameter name)


- action.getGlideURI(parameter name)


-RP.getParameter(parameter name)



i see that the parameter is being passed in the browser address bar, but the glideURI is not able to retreive it , the output of getGlideURI that i am getting is different between a helsinki instance and the istanbul instance ,



find_real_file.png


There seems to be a difference in the schema...


Are you able to get at any of the other parameters in the URI?


Yes, I am able to get the parameters, i tried the sysparm_mobile parameter and it is coming over..