Re: [rt-users] Child Ticket Creation with PDF Attachment

2010-06-22 Thread Jonathan Rummel

Tony,

Did you have any success with this?  I'm trying to do something similar.

Thanks!
Jonathan



TONY JOHN - ERS, HCL Tech wrote:
> 
> Hi ,
> 
> Im trying to create a Child Ticket with a pdf attachment .The pdf which
> needs to be attached to the Child Ticket should be same as the pdf
> attached in the Parent Ticket.The Template which I use fails to attach the
> Parent ticket pdf attachment to the Child Ticket. The Template which I
> tried is given below:
> 
> ===Create-Ticket: Child
> Subject: {$Tickets{'TOP'}->Subject}
> Queue: 13
> Status: open
> Parents: TOP
> Type: ticket
> Content-Type: application/pdf
> Due: {$Tickets{'TOP'}->Due()}
> RT-Attach-Message: Yes
> Contents: {$Tickets{'TOP'}->Transactions->First->Attachments();}
> 
> Any Help?
> 
> Thanks,
> Tony John
> 
> DISCLAIMER:
> ---
> 
> The contents of this e-mail and any attachment(s) are confidential and
> intended for the named recipient(s) only. 
> It shall not attach any liability on the originator or HCL or its
> affiliates. Any views or opinions presented in 
> this email are solely those of the author and may not necessarily reflect
> the opinions of HCL or its affiliates. 
> Any form of reproduction, dissemination, copying, disclosure,
> modification, distribution and / or publication of 
> this message without the prior written consent of the author of this
> e-mail is strictly prohibited. If you have 
> received this email in error please delete it and notify the sender
> immediately. Before opening any mail and 
> attachments please check them for viruses and defect.
> 
> ---
> 
> ___
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Community help: http://wiki.bestpractical.com
> Commercial support: sa...@bestpractical.com
> 
> 
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
> Buy a copy at http://rtbook.bestpractical.com
> 

-- 
View this message in context: 
http://old.nabble.com/Child-Ticket-Creation-with-PDF-Attachment-tp26951892p28963734.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Child Ticket Creation with PDF Attachment

2009-12-29 Thread Jerrad Pierce
>Please could you give me any example to get the url of parent ticket 
>>attachment?
It's not complicated, but not trivial. See and adapt
Ticket/Elements/ShowAttachments

> http://detach.optimism.cc/
Oooh! Thanks for that. Just what this nmh user has been wanting.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Child Ticket Creation with PDF Attachment

2009-12-29 Thread Ryan Hardester
I have been looking at trying to figure out how to use this to store 
attachments on the filesystem and replace them with http links into the 
tickets, but haven't had much time. It may be an interesting option.

http://detach.optimism.cc/

--Ryan


-Original Message-
From: rt-users-boun...@lists.bestpractical.com 
[mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Tony John - ERS, 
HCL Tech
Sent: Monday, December 28, 2009 11:50 PM
To: Jerrad Pierce
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Child Ticket Creation with PDF Attachment

Please could you give me any example to get the url of parent ticket attachment?

Thanks,
Tony

-Original Message-
From: Jerrad Pierce [mailto:jpie...@cambridgeenergyalliance.org] 
Sent: Tuesday, December 29, 2009 1:15 PM
To: Tony John - ERS, HCL Tech
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Child Ticket Creation with PDF Attachment

> Im trying to create a Child Ticket with a pdf attachment .The pdf which
> needs to be attached to the Child Ticket should be same as the pdf attached
> in the Parent Ticket.The Template which I use fails to attach the Parent
> ticket pdf attachment to the Child Ticket. The Template which I tried is
> given below:
Why would you want to clog your database with duplicate content like that?
You could simply given the URL of the parent's attachment in the child
ticket somewhere (body or a custom field)


DISCLAIMER:
---

The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only. 
It shall not attach any liability on the originator or HCL or its affiliates. 
Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the 
opinions of HCL or its affiliates. 
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have 
received this email in error please delete it and notify the sender 
immediately. Before opening any mail and 
attachments please check them for viruses and defect.

---
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Child Ticket Creation with PDF Attachment

2009-12-28 Thread Tony John - ERS, HCL Tech
Please could you give me any example to get the url of parent ticket attachment?

Thanks,
Tony

-Original Message-
From: Jerrad Pierce [mailto:jpie...@cambridgeenergyalliance.org] 
Sent: Tuesday, December 29, 2009 1:15 PM
To: Tony John - ERS, HCL Tech
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Child Ticket Creation with PDF Attachment

> Im trying to create a Child Ticket with a pdf attachment .The pdf which
> needs to be attached to the Child Ticket should be same as the pdf attached
> in the Parent Ticket.The Template which I use fails to attach the Parent
> ticket pdf attachment to the Child Ticket. The Template which I tried is
> given below:
Why would you want to clog your database with duplicate content like that?
You could simply given the URL of the parent's attachment in the child
ticket somewhere (body or a custom field)


DISCLAIMER:
---

The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only. 
It shall not attach any liability on the originator or HCL or its affiliates. 
Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the 
opinions of HCL or its affiliates. 
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have 
received this email in error please delete it and notify the sender 
immediately. Before opening any mail and 
attachments please check them for viruses and defect.

---
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Child Ticket Creation with PDF Attachment

2009-12-28 Thread Jerrad Pierce
> Im trying to create a Child Ticket with a pdf attachment .The pdf which
> needs to be attached to the Child Ticket should be same as the pdf attached
> in the Parent Ticket.The Template which I use fails to attach the Parent
> ticket pdf attachment to the Child Ticket. The Template which I tried is
> given below:
Why would you want to clog your database with duplicate content like that?
You could simply given the URL of the parent's attachment in the child
ticket somewhere (body or a custom field)
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


[rt-users] Child Ticket Creation with PDF Attachment

2009-12-28 Thread Tony John - ERS, HCL Tech
Hi ,

Im trying to create a Child Ticket with a pdf attachment .The pdf which needs 
to be attached to the Child Ticket should be same as the pdf attached in the 
Parent Ticket.The Template which I use fails to attach the Parent ticket pdf 
attachment to the Child Ticket. The Template which I tried is given below:

===Create-Ticket: Child
Subject: {$Tickets{'TOP'}->Subject}
Queue: 13
Status: open
Parents: TOP
Type: ticket
Content-Type: application/pdf
Due: {$Tickets{'TOP'}->Due()}
RT-Attach-Message: Yes
Contents: {$Tickets{'TOP'}->Transactions->First->Attachments();}

Any Help?

Thanks,
Tony John

DISCLAIMER:
---

The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only. 
It shall not attach any liability on the originator or HCL or its affiliates. 
Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the 
opinions of HCL or its affiliates. 
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have 
received this email in error please delete it and notify the sender 
immediately. Before opening any mail and 
attachments please check them for viruses and defect.

---
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com