OTRS에서 제공하는 동적 필드 UI가 지원되지 않는다고 생각합니다.
그래서 다음 중 하나를 수행 할 수 있습니다
1- 드롭 다운 상자에 가능한 모든 값을 추가 한 다음 숨기기 /를 DTL 파일에 코드 변경을 사용하여 보여줍니다. (자바 스크립트 사용). 새 티켓을 만들려면 AgentTicketEmail.dtl 또는 AgentTicketPhone.dtl이 있습니다. CustomerTicketMessage.dtl도 고객 인터페이스에 포함하려는 경우이 있습니다.
2 하나의 값만 추가하십시오. 또한 dtl 파일에서 javascript를 사용하여 숨길 수 있으며 자바 스크립트 코드를 사용하여 드롭 다운 목록에 값을 추가 할 수 있습니다. 아래의 자바 스크립트는 다양한 동적 필드를 숨기거나 보여줍니다. 브라우저에서 페이지 소스를 보면 동적 필드가 무엇인지 확인할 수 있습니다. 나를
참고 "먼 데이터베이스에서"정보를 얻기에 도움을 위해
function setdynamicviews(){
switch ($('#Dest').val()) { //this is where the queue is relevant (Dest = Queue)
case "8\|\|Support": // need to slash escape the pipes
//show dynamic fields
document.getElementById('LabelDynamicField_Product').style.display = 'block';
document.getElementById('LabelDynamicField_SerialNo').style.display = 'block';
break;
default:
//hide dynamic fields.
document.getElementById('LabelDynamicField_Product').style.display = 'none';
document.getElementById('LabelDynamicField_SerialNo').style.display = 'none';
}
}
충분한 정보를 제공하지 않은 자바 스크립트 here
유우를 참조 usign에 항목을 추가하려면 다음을 변경할 경우 DTL 파일 또는 다른 otrs 파일을 defrinitely 먼저 테마를 만들어야 참조하십시오 here
희망이 도움이됩니다.
나는 Y를 알고 싶다 나는 DownVoted이었다. – Leonidus
@damix 만약 내가 무엇을 어떻게하는지 안다면, 나는 질문을하지 않을 것이다. – Leonidus