what is GlideURL and how to use it?

bns1
Tera Contributor

what is GlideURL and how to use it for uploading file ?

8 REPLIES 8

Anurag Tripathi
Mega Patron
Mega Patron

i dont think there is a direct way to do it.


But what you need is create a processor on SN, and there you can scrip to receive file and then do whatever with it. What exactly are you trying to achieve?


-Anurag

Implementation is very similar to import set.means importing data in ServiceNow .but in my case end user Dont have access to import set application.


Implementation:


want to import data in some table ???


I have tried by making UI page and putting standard code of HTML for importing file but unable to sent this data in table.


Let me also suggest some other way of doing this if you have.


Chuck Tomasi
Tera Patron

GlideURL is a client side class that can help you parse parameters from the URL quickly and safely. Working to get it better documented on developer.service-now.com.



Example



  1. var gUrl = new GlideURL();  
  2. gUrl.setFromCurrent();  
  3. var view = gUrl.getParam("sysparm_view");