Found this link to help me put custom fields into the QuickCreate portlet. Followed all along well.
Get the following error on compile. Anyone have any idea what I might be doing wrong. Line in question line 86 which reads var defaultQueue = '<% $defaultQueue %>'; }); var defaultQueue = '<% $defaultQueue %>'; if(defaultQueue == "") { defaultQueue = jQuery('#quick-ticket').find('.select-queue[name=Queue]').children().first().text(); } updateCustomFields(defaultQueue); }); Error log is: torrepo:/opt/rt4/var # [Fri Mar 15 18:11:56 2013] [error]: Error during compilation of /n/software/linux/servers/rt4/local/html/Elements/QuickTicket: Global symbol "$defaultQueue" requires explicit package name at /n/software/linux/servers/rt4/local/html/Elements/QuickTicket line 86. Stack: [/usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Interp.pm:450] [/usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm:1127] [/usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm:1060] [/usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm:1239] [/n/software/linux/servers/rt4/share/html/Elements/MyRT:95] [/n/software/linux/servers/rt4/local/html/index.html:78] [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:634] [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:335] [/n/software/linux/servers/rt4/share/html/autohandler:53] (/opt/rt4/sbin/../lib/RT/Interface/Web/Handler.pm:208) [ARC]<http://www.arcproductions.com/> Ray Corbett Technology Projects Manager p: 416.682.5200 x5232 | f: 416.682.5209 Arc Productions Ltd. | 230 Richmond Street East | Toronto, ON M5A 1P4 www.arcproductions.com<http://www.arcproductions.com>
<<inline: image001.gif>>
-- RT training in Amsterdam, March 20-21: http://bestpractical.com/services/training.html Help improve RT by taking our user survey: https://www.surveymonkey.com/s/N23JW9T