March 2017
Beginner
358 pages
9h 51m
English
While there are use cases for calling these methods on GlideRecords inside of scripts, they are most useful inside of condition fields; for example, those which determine visibility of UI actions, as you can see in the screenshot after the code snippet:
current.canCreate() && gs.hasRole('itil')
These two conditions check whether the user can create records in that table, and whether the user has the itil role.
Read now
Unlock full access