Modifying ColumnMap

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@west.nl, West Consulting B.V., +31 15 2191 600

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@west.nl, West Consulting B.V., +31 15 2191 600