[rt-users] How to set a custom field on a user

Emmanuel Lacour elacour at easter-eggs.com
Wed Nov 10 03:31:07 EST 2010


On Tue, Nov 09, 2010 at 08:14:26PM +0000, Giles Bradshaw wrote:
> I have created a new RT:User object and loaded it but I cannot see how
> to set one of it's custom fields.  There seem to be methods for Tickets
> but I cannot find any for Users.
> 

Most customfields methods are common to all objects, and so in
RT::Record

see methods FirstCustomFieldValue to get a value and AddCustomFieldValue
to set a new value in lib/RT/Record.pm.




More information about the rt-users mailing list