GlideAjax Tutorial 2: Infinite Scrolling of Recent Incidents
October 22, 2014
Tags: ServiceNow GlideAjax Ajax Asynchronous JavaScript GlideRecord
Using the same concepts of Ajax as last time, we’ll code an infinite scrolling list of incidents. This can be useful when avoiding pagination to display a list of results.
Components
#Script include
Write a server side script which returns a list of incidents depending on which page you’re on.
#UI Script
Client side script to consume the data from the server and remember the last page.
#UI Page Render the results