Name

sn_interview_temp.InterviewTemplateUtils

Description

No description available

Script

var InterviewTemplateUtils = Class.create();
InterviewTemplateUtils.prototype = {
  initialize: function() {
  },
  
  
  /*
  * Utility script include that returns list of tables for which Template Tags can be created.
  *
  * @returns
  *   List of tables to create Template Tags.
  */
  process: function() {
  	var property = gs.getProperty('sn_interview_temp.filter_attr_allowed_tables');
  	if (property) {
  		var propArray = property.split(',');
  		var extensions = new GlideTableHierarchy("sys_metadata").getAllExtensions();
  		var filteredArray = extensions.filter(function(n) {
  			return propArray.indexOf(n) !== -1;
  		});
  		return filteredArray;
  	}
  },
  
  type: 'InterviewTemplateUtils'
};

Sys ID

073f35a4c31220102920b8889d40ddb9

Offical Documentation

Official Docs: