How to get Current URL including paramaters in Action Script/Context Menu

ican
Tera Contributor

Use Case:

I have a context menu, once clicked i want to get the current url including the paramaters.

How to this?

Thanks!

2 REPLIES 2

Sohail Khilji
Kilo Patron
Kilo Patron

Hi @ican ,

 

Create a UI action with the below code :

 

 

var currentPageURL = gs.action.getGlideURI();
alert('Current Page URL: ' + currentPageURL);

 


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect

It should be in a Context Menu.

Is there way to this?

Thanks.