title: ServiceNow storing and calling upon glide scripts
body: <p>I am creating a front end portal in ServiceNow that requires using g:evaluate to call on variables from different tables. </p>
  
  <p>For example:</p>
  
  <pre><code>&lt;g:evaluate var="jvar_user_name"&gt; 
  var gr = new GlideRecord('sys_user'); 
  gr.get('sys_id', gs.getUserID()); 
  gr.first_name; 
  &lt;/g:evaluate&gt;
  </code></pre>
  
  <p>Is there a way to store a bunch of these somewhere and then call upon them as needed, much like UI Scripts for JS and Style Sheets for CSS?  If so, how would I go about doing this?</p>
  
  <p>Thanks!</p>