Full List of URL Parameters?

Moderator: crythias

Locked
davidappleby
Znuny newbie
Posts: 14
Joined: 12 Sep 2011, 16:28
Znuny Version: 3.0

Full List of URL Parameters?

Post by davidappleby »

Hi, I wondered if anyone had a full list of URL Parameters and what they do?
(Specifically for the Action "AgentTicketEmail", Subaction "StoreNew")

Example: CustomerUser=[userlogin] - sets the "To customer" field.

I've seen a few described, but not all.
Anything will be helpful, even parameters for other actions/subactions.
Can anyone help?
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Full List of URL Parameters?

Post by crythias »

Most of the URL Parameters are documented in the Modules folder, and are likely to be self-descriptive.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
davidappleby
Znuny newbie
Posts: 14
Joined: 12 Sep 2011, 16:28
Znuny Version: 3.0

Re: Full List of URL Parameters?

Post by davidappleby »

Thanks for your response. Yes, I can see the parameters in the modules folder (i.e. in the AgentTicketEmail.pm file), but it's unclear how to use them.

For example, I'm trying to set up an email template which Bccs a certain group of people. In AgentTicketEmail.pm, it describes parameters for MultipleCustomerBcc. I think the parameter I want to use is 'BccCustomerKey_'.

I tried the following URL:

Code: Select all

<Baselink>Action=AgentTicketEmail;Subaction=StoreNew;ExpandCustomerName=2;CustomerUser=<CustomerA>;BccCustomerKey_1=<CustomerB>;BccCustomerKey_2=<CustomerC>;ChallengeToken=<Token>;
but this doesn't seem to work...

Any suggestions? TIA
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Full List of URL Parameters?

Post by crythias »

BccCustomerTicketText_1=customeremail1@domain.tld
BccCustomerKey_1=xxx
BccCustomerTicketText_2=customeremail2@domain.tld
BccCustomerKey_2=yyy
(Keys seem to be arbitrary but might be different?)
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
davidappleby
Znuny newbie
Posts: 14
Joined: 12 Sep 2011, 16:28
Znuny Version: 3.0

Re: Full List of URL Parameters?

Post by davidappleby »

Thanks, I appreciate you looking at this.

I had a go at putting

Code: Select all

BccCustomerTicketText_1=email1@domain.com;BccCustomerKey_1=xxx;BccCustomerTicketText_2=email2@domain.com;BccCustomerKey_2=yyy;
in the URL, but wasn't sure what xxx / yyy was supposed to signify. I tried putting in the customer_user login, the customer_user id etc. but it still didn't add those addresses to the BCC section.

Is seems that since OTRS got the new To/CC/BCC look, things like this don't work any more. Have you seen this working since 3.1.1?

I also thought about using templates in the dtl to pre-populate the BCC fields but the example doesn't have anything to do with BCC...
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Full List of URL Parameters?

Post by crythias »

Well, you can use the always bcc in SysConfig, but bcc is not necessarily a nice thing to use as you've potentially violated the implied privacy agreement with your customer.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Locked