I have a simillar question,
how could I display these user fields in a script? I have tried something like

{$Ticket->CustomFieldValues('MyCustomField')}
but it returns some hash...

{$Ticket->MyCustomField}
doesn't work as well

Dne 11/10/10 5:03 PM, Emmanuel Lacour napsal(a):
On Wed, Nov 10, 2010 at 04:21:53PM +0100, Wolfram Huettermann wrote:
Hi,

I have a user list with the entries "id", "name", "real name" and
"e-mail address". I have created  a user custom field "hobbies" and
I want to display it in that list as an additional column. How is it
possible? What should I do?

on recent RT 3.8.8, you should be able to do this with configuration
variable %AdminSearchResultFormat.

example to display CF "Test":

Set(%AdminSearchResultFormat,
    ...
    Users =>
         q{'<a 
href="__WebPath__/Admin/Users/Modify.html?id=__id__">__id__</a>/TITLE:#'}
         .q{,'<a 
href="__WebPath__/Admin/Users/Modify.html?id=__id__">__Name__</a>/TITLE:Name'}
         .q{,__RealName__, __EmailAddress__}
         .q[, 'CF.{Test}'],
         ^^^^^^^^^^^^^^^^^^
    ...
);

Reply via email to