You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Script Type : Client Script, Type : OnLoad, Table: incident
4
+
5
+
Script Type : Script Include, Glide AJAX enabled : True, Role : admin
6
+
7
+
Goal : Hide the Related list on the form based on the record
8
+
9
+
Walk through of code : So the Client Script will run on the Onload form so this will check whether the mentioned related list has record or not so based on that this will send the data to the Script include through Glide Ajax and then this Script include will Glide Record to the particular table name and then check whether record/records it there or not based on that this will return 'true' if record is no record else return 'false' means there is a record.
// function which is used to called the Script include through GlideAjax and check whether record is there are not and get the response based on that it will hide the related list.
0 commit comments