March 2017
Beginner
358 pages
9h 51m
English
If you want to create a new record in the database, you're generally going to need to call these two methods: initialize() and insert().
Neither method takes any arguments, and their functions are intrinsically linked.
When you create a new GlideRecord, you're effectively generating an object that has the potential to be populated with some data. Think of this object like a blank spreadsheet. Whether you want to read data out of the spreadsheet, or save data to it, the first thing you need to do is figure out what the column headers should be. This will tell you what data goes where!
When you create a new GlideRecord, define your filter query, and run the .query() method, it talks to the database and sets up the ...
Read now
Unlock full access