I am new to the OTRS world and I have been fighting with this issue for a few days. I have looked over the Admin Book and I have not seen what I am looking for. I am looking to use a web form to post information to OTRS using a PHP call. I am using as the base of the PHP call the Simple Web Services Form Processor created by Jeff Eske. What I am looking to do is to post text to a dynamic text field here is a portion of the code that I am using. the real question is how can I check the database to be sure that it is being posted.
Code: Select all
$custfirstname = $_POST[cust_fn];
$TicketID = $client->__soapCall(
"Dispatch", array($username, $password,
"TicketObject", "TicketCreate",
"Title", $title,
"TypeID", $typeID,
"Queue", $queue,
"LockID", 1,
"PriorityID", $priorityID,
"State", "new",
"CustomerUser", $from,
"OwnerID", $ownerID,
"UserID", 1,
"DynamicField_custfirstname", $custfirstname,
)
);
Second and related question what in the syntax to have this information displayed in a autoreply template I am using
Code: Select all
First Name: <OTRS_TICKET_DynamicField_custfirstname>