Hi Mark, you must to strip the name of the attachment. Please take a look on mine publication where that is described : http://www.remedydevelopers.eu/articles/ArchivingProcessFromARSystem_eng.pdf
Regards, Plamen Ivanov www.remedy.bg www.remedydevelopers.eu On 29 Март, 19:44, "Brittain, Mark" <[email protected]> wrote: > Hi All, > > I have situation where the ticket on one Remedy server creates a ticket on > another Remedy server using an email template. This worked fine until it was > determined that an attachment needs to be included. Of course the file name > is different each time so I can't hard code the name. > > In the template I added Attachment !900090026!: $FileTOBeSent$ to get the > name and select Include Fields - FileTOBeSent. The attached file (e,g. > Red.jpg) is sent as an attachment to the email but I am getting the full > path\file name in the template like this > > Attachment !900090026!:1370\1239\Red.jpg > > The submission fails unless the file name in the template is just Red.jpg. > > Is there way to just get the file name without the full path? > > Thanks > > ____________________________________________ > Mark Brittain > Remedy Developer > NaviSite > [email protected]<mailto:[email protected]> > (315) 453-2912 x5335 (Phone) > (315) 317.2897 (Cell) > > ________________________________ > This e-mail is the property of NaviSite, Inc. It is intended only for the > person or entity to which it is addressed and may contain information that is > privileged, confidential, or otherwise protected from disclosure. > Distribution or copying of this e-mail, or the information contained herein, > to anyone other than the intended recipient is prohibited. > > _______________________________________________________________________________ > UNSUBSCRIBE or access ARSlist Archives atwww.arslist.org > attend wwrug10www.wwrug.comARSlist: "Where the Answers Are" _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are"

