Works, thanks! What does 0 and 2 mean in this context?
Anything else I need to know?
On Nov 7, 2007, at 11:27 AM, Martin Edenhofer wrote:
Hi Jo,
try to change the following hidden field:
<input type="hidden" name="ExpandCustomerName" value="2">
Is it working now? ;)
Greetings,
-Martin
On Nov 7, 2007, at 7:28 PM, Jo Rhett wrote:
This concerns OTRS 1.3.2 (running on a provider's system) but it
appears to be much the same with a 2.2 installation I have here
locally.
I'm trying to create a ticket by submitting a form prefilled with
values. The goal is to pre-fill the To: and Cc: fields from a
local customer database. I copied and minimized the form from
Email Ticket, and it looks like the following. However, whenever
I submit it I get
Message: Need TicketID!
Traceback (18383):
Module: Kernel::System::Ticket::ArticleSend (v1.19.2.1) Line: 1131
Module: Kernel::Modules::AgentEmail::Run (v1.34.2.2) Line: 597
...etc
However, the stock form supplies an empty TicketID as well. The
purpose is to create a ticket. What am I doing wrong here?
<form action="https://tickets.svcolo.com/otrs/index.pl"
method="get" enctype="multipart/form-data" name="compose">
<input type="hidden" name="Action" value="AgentEmail">
<input type="hidden" name="Subaction" value="StoreNew">
<input type="hidden" name="Dest" value="105||SVcolo">
<input type="hidden" name="To" value="(*customer e-mail*)">
<input type="hidden" name="Cc" value="(*customer backup*)">
<input type="hidden" name="Bcc" value="[EMAIL PROTECTED]">
<input type="hidden" name="FormID"
value="1194316011.9677080.31251047">
<input type="hidden" name="ExpandCustomerName" value="0">
<input type="hidden" name="AllUsers" value="0">
<input type="hidden" name="PreSelectedCustomerUser" value="">
<input type="hidden" name="SelectedCustomerUser" value="">
<input type="hidden" name="PriorityID" value="">
<input type="hidden" name="CustomerID" value="">
<input type="hidden" name="TicketID" value="">
<b>Subject:</b> <input type="text" name="Subject" value=""
size="70"><br />
<textarea name="Body" rows="15" cols="72" wrap="hard">
</textarea><br />
<b>Time units (work units):</b> <input type="text"
name="TimeUnits" value="" size="4"><br />
<input class="button" type="submit" value="Send mail!">
</form>
--
Jo Rhett
senior geek
Silicon Valley Colocation
Support Phone: 408-400-0550
_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
--
Jo Rhett
senior geek
Silicon Valley Colocation
Support Phone: 408-400-0550
_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev