Name

global.UxActionsProvider

Description

Provides a filter to which Actions are available to be selected in a UX Form Actions Layout Group.

Script

var UxActionsProvider = Class.create();
UxActionsProvider.prototype = {
  getActions: function(current) {
  	var stringQueryPostfix = '^active=true^model=360935e9534723003eddddeeff7b127d^form_position=action_bar';
  	var tableName = String(current.table || '');
  	if (tableName === '')
  		return stringQueryPostfix;

  	var tables = GlideDBObjectManager.getTables(tableName).toArray().concat();
  	tables.push('global');
  	return 'tableIN' + tables + stringQueryPostfix;
  },
  type: 'UxActionsProvider'
};

Sys ID

d7e3f97e9328501079f4dc2a767ffb77

Offical Documentation

Official Docs: