Minimize Server Lookups

  • You have reviewed many ways to get information from the server in class
  • The recommended methods are - g_scratchpad - Sent once when the form loads - GlideAjax - Dynamically triggered when the client requests information from the server

As you learned in previous modules, GlideRecord and g_form.getReference() are also available for retrieving server information. Thay have a slightly higher performance impact. Both methods retrieve all fields in the requested GlideRecord when most cases onle require one field.

results matching ""

    No results matching ""