Рет қаралды 15,481
Calling a Script Include from Client Scripts using GlideAjax in ServiceNow OR returning multiple values from a script include to the client script. This is helpful when we need to populate data for some other fields onchange of an existing field wherein we need to query the database using GlideRecord since the use of getReference or GlideRecord is not recommended in Client Scripts. Use of these might break functionality. For eg: same code with getReference or GlideRecord in client script will not work in the service portal while it looks to be working fine in the Platform.