Create Ticket Template with multiple lines in Body

Moderator: crythias

Locked
nixman
Znuny newbie
Posts: 5
Joined: 14 Jul 2011, 19:22
Znuny Version: 3.0.9

Create Ticket Template with multiple lines in Body

Post by nixman »

Hi Guys,

I have created a Agent Ticket Template and even though I have use correct percent-endcoding for newline (%0A or %0D or %0D%0A) for Body=, it creates everything in-line instead of multiple lines. Example requirement:
Line 1:
Line 2:
Line 3:

Output on the ticket template message Body:
Line 1: Line 2: Line 3:

Following is the complete Link Action under Frontend::Module###AgentTicketEmail @ Frontend::Agent::ModuleRegistration
Action=AgentTicketEmail;Subaction=StoreNew;Subject=Feed+Outage+Notification;Dest=6%7C%7CL2SC::Feed;NextStateID=12;Body=Line+1%3A%0D%0ALine+2%3A%0D%0ALine+3%3A

Followed the guide http://blog.otrs.org/2010/11/02/otrs-3- ... templates/ and using OTRS v3.0.10

Is there a limitation here or do we have alternatives to provide multiple lines on Ticket Body..?

Thanks in advance.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Create Ticket Template with multiple lines in Body

Post by crythias »

Try \n or <br>
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
nixman
Znuny newbie
Posts: 5
Joined: 14 Jul 2011, 19:22
Znuny Version: 3.0.9

Re: Create Ticket Template with multiple lines in Body [SOLV

Post by nixman »

Thanks for the tip, it did work.
Locked