I create an ACL.
The task- when customer entered ticket from web-interface, when he choice of category (field CategoryName) 02_ReplacingCartrige - in field subcategory (next field SubCategoryName) from the list of possible 4 values - to give the opportunity to choose only 2 - 02 Cartrige and 04 DrumUnit
Code: Select all
$Self->{TicketAcl}->{'500 - Category --> SubCategory'} = {
# match properties
# current dynamic field match properties
Properties => {
# Ticket => {
DynamicField => {
# keys must be in DynamicField_<field_name> format
DynamicField_CategoryName => ['02_ReplacingCartrige'],
},
},
# return possible options (white list)
Possible => {
# possible ticket options (white list)
Ticket => {
DynamicField_SubCategoryName => ['02 Cartrige', '04 DrumUnit'],
},
},
};
I try it in version 3.1.1 on local PC with Windows 7 Ult(64-bit)
1. Is this possible with DynamicFields?
2. Is the reason may be - that dynamic fields displays in CustomerTicketMessage.dtl as block of all fields at once?
3. Something else?
