[rt-users] modifying ColumnMap

Pieter van der Spek pieter at West.NL
Fri Jul 1 09:50:04 EDT 2005


I've modified $DefaultSearchResultFormat in RT_SiteConfig to show two extra
columns. Now I want to show values from CustomFields in these columns (using the
Callback-mechanism).
How can I do this? From the code in Elements/RT__Ticket/ColumnMap I thought it
should be some thing like

<%INIT>
if ($COLUMN_MAP) {
  $COLUMN_MAP = {
        'CF.{MyCustomFieldName}'
  };
}
</%INIT>
<%ARGS>
$COLUMN_MAP => undef
</%ARGS>


However, this doesn't work, so I'm guessing this is wrong, but what would be the
right way to do what I want?
Thanks in advance for any help.

-- 
-- Pieter van der Spek, pieter at west.nl, West Consulting B.V., +31 15 2191 600



More information about the rt-users mailing list