The Zurich release has arrived! Interested in new features and functionalities? Click here for more

How to Fetch current URL from script Include

ManideepN
Tera Contributor

Hi,

I need to get URL parameter in script include.this script include will trigger by variables reference qualifier.

I used getProperty("glide.servlet.uri") and gs.action.getGlideURI() but not able to get the current URL.

Can any one let me know how it can be done.

Thanks,

Manideep Nadimpelli.

1 REPLY 1

Sharique Azim
Mega Sage

try:

gs.getSession().getStack().get(0);