I have configured the new attribute in TicketFreeText11 and I made sure that is visilbile only for a specific queue in CustomerTicketMessage.dtl:
Code: Select all
switch ($('#Dest').val() ) {
case "36\|\|TBS-OP::Remote Services::Help Desk::XXXX":
document.compose.RichText.value ="<b>-PROBLEM :<br/>-CONTACT :<br/>-PHONE :<br/>-TIME:<br/>";
document.getElementById('TicketFreeText11').style.display = 'block';
document.getElementById('LabelTicketFreeText11').style.display = 'block';
document.getElementById('TicketFreeText11').className = 'Validate_Required';
break;
default:
document.getElementById('TicketFreeText11').style.display = 'none';
document.getElementById('LabelTicketFreeText11').style.display = 'none';
document.compose.RichText.value = "";
}
To simplify I would like to activate a select like this "SELECT DISTINCT(name) FROM configitem_version where mane like ?"
and return the result in TicketFreeText11.
Alternatively, even with the addition of a new button (Asset Search) to activate the select and return the list received in TicketFreeText11 for selection.
Someone has already developed something similar?
Hope I have described well the request (OTRS 3.0.10-ITSM 3.0.6)
Thanks
Rocco