<p>Josef,</p>
<p>Your question is unrelated to this thread. Start a new thread next time.</p>
<p>CustomFieldValues returns an object, not a hash. You use it when cf may have multiple values. Otherwise use FirstCustomFieldValue method.</p>
<p>Regards, Ruslan. From phone.</p>
<div class="gmail_quote">2010 11 11 01:40 пользователь "Josef" <<a href="mailto:pepus@p-h-a.cz">pepus@p-h-a.cz</a>> написал:<br type="attribution">>   I have a simillar question,<br>>      how could I display these user fields in a script? I have tried <br>
> something like<br>> <br>> {$Ticket->CustomFieldValues('MyCustomField')}<br>> but it returns some hash...<br>> <br>> {$Ticket->MyCustomField}<br>> doesn't work as well<br>> <br>> Dne 11/10/10 5:03 PM, Emmanuel Lacour napsal(a):<br>
>> On Wed, Nov 10, 2010 at 04:21:53PM +0100, Wolfram Huettermann wrote:<br>>>> Hi,<br>>>><br>>>> I have a user list with the entries "id", "name", "real name" and<br>
>>> "e-mail address". I have created  a user custom field "hobbies" and<br>>>> I want to display it in that list as an additional column. How is it<br>>>> possible? What should I do?<br>
>>><br>>> on recent RT 3.8.8, you should be able to do this with configuration<br>>> variable %AdminSearchResultFormat.<br>>><br>>> example to display CF "Test":<br>>><br>>> Set(%AdminSearchResultFormat,<br>
>>     ...<br>>>     Users =><br>>>          q{'<a href="__WebPath__/Admin/Users/Modify.html?id=__id__">__id__</a>/TITLE:#'}<br>>>          .q{,'<a href="__WebPath__/Admin/Users/Modify.html?id=__id__">__Name__</a>/TITLE:Name'}<br>
>>          .q{,__RealName__, __EmailAddress__}<br>>>          .q[, 'CF.{Test}'],<br>>>          ^^^^^^^^^^^^^^^^^^<br>>>     ...<br>>> );<br>>><br></div>