Thank you for such a quick response I did what you said and it suppresses the value in the email but I am still not getting the value for query_string places within the url for some reason. I did remove the quotes as that was a last ditch effort the last time I tried
Here is the result with the s in from of comp If you agree your issue is resolved, please give us feedback on your experience by completing a brief satisfaction survey: https://umbc.co1.qualtrics.com/SE/? <https://umbc.co1.qualtrics.com/SE/?> Joe Kirby , Assistant Vice President, Business Systems Division of Information Technology (DoIT) Support Response - http://www.umbc.edu/doit Administration 627 Office - 410-455-3020 Email - ki...@umbc.edu > On Jun 22, 2016, at 6:52 AM, Christian Loos <cl...@netcologne.de> wrote: > > OK, my fault ;-) > > Change > > my $query_string = $HTML::Mason::Commands::m->comp('/Elements/QueryString', > > to this (note the 's') > > my $query_string = $HTML::Mason::Commands::m->scomp('/Elements/QueryString', > > and this > > https://umbc.co1.qualtrics.com/SE/?{'$query_string'} > > should be this (no quotes) > > https://umbc.co1.qualtrics.com/SE/?{$query_string} > > Chris > > Am 22.06.2016 um 12:40 schrieb Joe Kirby: >> Thank you both. >> >> It does do a great job of translating however it does not seem the field >> is actually available for the command line >> >> Here is the full template and then the email result. Am I missing a >> comma or something? >> >> TEMPLATE-------- >> RT-Attach-Message: Yes >> Subject: {$Ticket->Subject} [RESOLVED] >> >> R e s o l u t i o n: >> = = = = = = = = = = = = = = = = = = = >> >> {$Transaction->Content()} >> _________________________________________ >> >> If you agree your issue is resolved, please give us feedback on your >> experience by completing a brief satisfaction survey: >> >> { >> my $query_string = $HTML::Mason::Commands::m->comp('/Elements/QueryString', >> SID => 'SV_4IbNK0n1unOaIEB', >> groupid => 'BSG', >> ticketid => $Ticket->Id, >> ticketowner => $Ticket->OwnerObj->EmailAddress, >> customeremail => $Ticket->RequestorAddresses, >> ticketsubject => $Ticket->Subject, >> ); >> } >> https://umbc.co1.qualtrics.com/SE/?{'$query_string'} >> >> >> If you believe your issue has not been resolved, please respond to this >> message, which will reopen your ticket. Note: A full record of your >> request can be found at: >> >> Ticket <URL: >> {RT->Config->Get('WebURL')}Ticket/Display.html?id={$Ticket->id} > >> >> Thank You >> —————————— >> >> Email result from TEMPLATE >> >> R e s o l u t i o n: >> = = = = = = = = = = = = = = = = = = = >> >> This transaction appears to have no content >> _________________________________________ >> >> If you agree your issue is resolved, please give us feedback on your >> experience by completing a brief satisfaction survey: >> >> SID=SV_4IbNK0n1unOaIEB&customeremail=jkirby%40umbc.edu >> <http://40umbc.edu>&groupid=BSG&ticketid=706954&ticketsubject=Test%20Case%23%201234 >> https://umbc.co1.qualtrics.com/SE/?$query_string >> >> >> If you believe your issue has not been resolved, please respond to this >> message, which will reopen your ticket. Note: A full record of your >> request can be found at: >> >> Ticket <URL: https://rt.umbc.edu/Ticket/Display.html?id=706954 > >> >> Thank You >> >> Joe Kirby , Assistant Vice President, Business Systems >> Division of Information Technology (DoIT) >> Support Response - http://www.umbc.edu/doit >> Administration 627 >> Office - 410-455-3020 >> Email - ki...@umbc.edu <mailto:ki...@umbc.edu> >> >>> On Jun 22, 2016, at 5:12 AM, Christian Loos <cl...@netcologne.de >>> <mailto:cl...@netcologne.de>> wrote: >>> >>> Am 22.06.2016 um 10:59 schrieb Emmanuel Lacour: >>>> Nice idea, but is $m available in RT templates (never tried) ? >>> >>> You are right, you must replace line >>> >>> my $query_string = $m->comp('/Elements/QueryString', >>> >>> with >>> >>> my $query_string = >>> $HTML::Mason::Commands::m->comp('/Elements/QueryString', >>> >>> Chris >> > > -- > Christian Loos > > NETCOLOGNE Gesellschaft für Telekommunikation mbH > Am Coloneum 9 | 50829 Köln > > Geschäftsführer: Jost Hermanns, Mario Wilhelm > Vorsitzender des Aufsichtsrates: Dr. Andreas Cerbe > HRB 25580, AG Köln
--------- RT 4.4 and RTIR Training Sessions https://bestpractical.com/training * Los Angeles - September, 2016