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

Hello
need some help here please


Iam trying to copy a field value UI Action from Sys_Approval form to related RITM form on approving or cliking on the Ui Button



var itemTable = new GlideRecord('sc_req_item');


itemTable.addQuery('number',current.sysapproval.number);


itemTable.query();


if(itemTable.next())


{


itemTable.u_estimated_points = current.u_estimatedpoints;


itemTable.update();


}


current.state='approved';


current.update();


this is approving and going back to RITM but values is not getting updated in RITM . Highlighted in bold are the fields


Did you check to see if your query returns any result? I personally think, it would be better to keep the implementation to approve and update the RITM fields as two separate codes. You can write a BR on Approval table and update the RITM record with the field values.



Darshak


It looks like this is a bit off topic from the title of this article related to GlideAjax. You might have better visibility and responses by posting it as a new topic.


I do agree, thanks. I couldn't resist but post a reply for the previous post.  




Darshak


Matthew Smith
Kilo Sage

Hi Chuck and Dave



This video really helped me grasp an understanding of the GlideAjax process and the 'walk before you run' methodology for creating the scripts was perfect for beginners like me!



Thanks


Matt