I would like to share some examples on how to use the constrictions since this add-on documentation don't have any.
Example 1: Allow only CIs of type 82 and kind 3 (type and kind must be attributes of the CI class being used)
Code: Select all
Type::Configuration::82::1
Kind::Configuration::3::1
Code: Select all
Type::Configuration::82::0
In Kernel::Modules::DynamicFieldITSMConfigItemAJAXHandler (create a copy and save in Custom folder) add/change the following lines to use a list of possible values of the same attribute.
532:
Code: Select all
my @Values = split ',', $Values;
Code: Select all
my $SearchHash = {
'[1]{\'Version\'}[1]{\''
. $SearchKey
. '\'}[%]{\'Content\'}' => \@Values,
};
Example 3:
Type::Configuration::78,82::1
Hope it helps!