my $values = RT::CustomFieldValues->new( $RT::SystemUser ); $values->LimitToCustomField( $custom_field_id ); while ( my $value = $values->Next ) { print $value->Name, "\n"; }
On 8/8/07, Mathew Snyder <[EMAIL PROTECTED]> wrote: > I need to get a list of all of the values for one particular custom field. I > had a script which did this after about a week or two of banging my head > against > my desk. However, I no longer have this script and am left banging my head > again as I've forgotten how to gather this list up. > > I've tried using CustomFieldValue, CustomFieldValues, CustomField and > CustomFields. I can't for the life of me figure out how to do this. Can > someone point me in the right direction? > > -- > Keep up with me and what I'm up to: http://theillien.blogspot.com > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: [EMAIL PROTECTED] > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > -- Best regards, Ruslan. _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: [EMAIL PROTECTED] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com