[rt-users] methods on custom fields besides 'FirstCustomFieldValue()' ??

Todd Chapman todd at chaka.net
Wed Jun 4 10:41:14 EDT 2008


RT's source code is very easy to read. See CustomField_Overlay.pm.

On Tue, Jun 3, 2008 at 5:37 PM, Sam A. Hicks <shicks at mcfina.com> wrote:

>  Hi y'all.
>
>
>
> I've seen a lot of examples now where people have accessed the value of a
> custom field via a statement like:
>
>
>
> $the_thing_I_want = $self->TicketObj->FirstCustomFieldValue( 'FIELD_NAME' )
>
>
>
> However, when my custom field is of type 'Select multiple values', I can
> assign multiple values through the web interface, but the above syntax
> doesn't access them for manipulation and other fun.
>
>
>
> I have managed to see inside the result of
> $self->TicketObj->CustomFieldValues( 'FIELD_NAME' ); I'm still deciphering
> it but it is clearly not the "plural" version of the thing above. Maybe
> there is a chain of objects that will get me there via the
> ObjectCustomFieldValues table and some method it knows??
>
>
>
> As always, any pointers to comprehensive docs on all the methods related to
> custom-field objects would be great!
>
>
>
> Thanks,
>
> Sam
>
>
>
> ---------------------------------
>
>
>
> The information contained in this email is strictly confidential and
> subject to the Confidentiality Notice at www.mcfina.com/emailpolicy
>
>
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20080604/35877e9b/attachment.htm>


More information about the rt-users mailing list