[rt-users] modifying ColumnMap
Pieter van der Spek
pieter at West.NL
Fri Jul 1 10:24:46 EDT 2005
On 07/01/2005 03:50 PM, Pieter van der Spek wrote:
> 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.
>
I figured it out. 'CF.{MyCustomFieldName}' should be the name in
$DefaultSearchResultFormat in RT_SiteConfig.
--
-- Pieter van der Spek, pieter at west.nl, West Consulting B.V., +31 15 2191 600
More information about the rt-users
mailing list