logo

NJP

K16 CreatorCon - Advanced GlideRecord Scripting

Import · May 04, 2016 · article

Last year Mark Amann (mamann) and I were honored to be allowed to conduct two sessions of our Advanced Scripting class at the K15 CreatorCon. We really enjoyed the turn-out and support. We had two full double-room classes!

This year Mark and I are doing something a little different. We will be conducting a class on Advanced GlideRecord Scripting, and we will be doing two sessions of that as well.

Class Agenda:

1. Best practices while working with GlideRecords (refactoring to reduce calls to the database)

2. Methods of rewriting GlideRecord queries for better maintainability (such as dot stacking of commands in a GlideRecord query like: .addQuery() and .addOrCondition() )

3. Extending the GlideRecord object (adding functionality to GlideRecord via JavaScript prototypes)

Advanced encoded queries Labs will include:

1. Taking a GlideRecord in a loop and refactoring it using object array handling.

2. Rework of a large GlideRecord query into a dot stacked query.

3. Extending the GlideRecord object to have a Between dates SQL functionality

4. Techniques for building advanced encoded query conditions

AND MORE!

Dates and signup:

19CD08 - Advanced GlideRecord Scripting (repeat 1 of 2) - Thursday, May 19, 3:50 PM - 5:40 PM - Steven & Mark

20CA05 - Advanced GlideRecord Scripting (repeat 2 of 2) - Friday, May 20, 8:00 AM - 9:50 AM - Steven & Mark

If you are planning on attending CreatorCon we would sure like to see you there!

To see a full listing of all of the CreatorCon classes being given go to this link: Knowledge16

Under Session Type check CreatorCon Breakout, and CreatorCon Workshop to see all of the CreatorCon sessions available!

I'm not shilling specifically for our class...honest! image

CreatorCon Rocks!

Steven Bell

If you find this article helps you, don't forget to log in and "like" it!

Also, if you are not already, I would like to encourage you to become a member of our blog!

imageimage

View original source

https://www.servicenow.com/community/developer-blog/k16-creatorcon-advanced-gliderecord-scripting/ba-p/2284584