TechNow Ep 33 | GlideAjax

Chuck Tomasi
Tera Patron

expert-logo-2.png

Chuck and Dave cover GlideAjax - a common scenario for making server information available to your client scripts. While this can seem complex at first, they take it step by step and explain everything to help you feel confident in creating effective and efficient scripts.

Originally aired Thursday December 15, 2016 12:00PM PST  

(Be sure to change your YouTube Setting to 720HD)

Create your own fork of the example used in this video:

GitHub - chucktomasi/technow-glideajax: Simple demonstration of GlideAjax for TechNow

Ask your questions below on this discussion page.

And Please Let our Expert Know how they've helped! Comment Below!

Like, Share, Mark Helpful.


Featured Experts

find_real_file.pngChuck Tomasi is a Platform Architect for ServiceNow.   He is a computer science major with over 30 years of IT experience. As a former ServiceNow customer, Chuck won the first Innovation of the Year Award at Knowledge 10. Since joining ServiceNow in 2010 as a Technical Consultant, he has done many large scale ITSM implementations and custom applications, acted as an adjunct instructor for Education Services, created and lead the Technical Best Practices program, and co-hosts the ServiceNow series "TechNow".

 

find_real_file.pngDave Slusher has been developing software for 20 years for companies such as Intel, Orbitz, Dell Secureworks and many startups lost to history. He has been with ServiceNow for two years, first in Expert Services and now as the Developer Evangelist for the developer community and portal. He earned his BS from Georgia Tech and his MS in Computer Science from the University of Louisiana - Lafayette.

 

find_real_file.pngKreg Steppe is a Senior Curriculum Developer within ServiceNow developing and supporting cloud training infrastructure. He specializes in developing integration solutions, automating repeatable processes and Cloud Management in ITOM. Kreg's prior experience includes operating his own ISP, developing web applications in PHP, network integration, managing network support, Application Development on cloud based networks, DNS and email server maintenance. He is a Linux enthusiast and enjoys Photography.


15 REPLIES 15

Then it would be my second example



current.variables.user.manager.active



Reference:


Dot-Walking - Servicenow Wiki


bbf3562
Kilo Guru

Is it possible to use GlideAjax in Map Page? The main purpose for wanting to use GlideAjax is to be able to return value name string because one of column I want to use for COUNT is a reference from extend table. I kept either getting sys_id or empty value from reference column.


You don't need GlideAjax - that's used for a client script to get information from the server. The Script field on a map page is running server side.



If you just want a count, use GlideAggregate.



http://wiki.servicenow.com/?title=GlideAggregate


jayakaru
Kilo Explorer

Hi Chuck,


Need some help on this topic please


Iam trying to bring the Requested Item Name in the approval form .


Its not available in the form Layout not i can use any field to dotwalk


Can you please suggest on this



Regards


Jay


Have you tried dot-walking to sysapproval.short_description   ?


It looks like the catalog item is copied to the short description at some point. Since sysapproval points to a task record and short_description is available on all tasks, it should work