[rt-devel] Getting Custom Fields for a User

Thomas Sibley trs at bestpractical.com
Sun Apr 15 15:07:26 EDT 2012


On 04/15/2012 02:59 PM, Lee Wilson wrote:
> I'm trying to obtain the list of custom fields for the current user so that I can take certain decisions based on these values.
> 
> I've had a look at the code in 'Admin/Elements/EditCustomFields' and adapted (I think) accordingly but it's not returning any values:
> 
[snip]
> <%ARGS>
>   $LookupType => 'RT::Queue-RT::User'
> </%ARGS>

RT::Queue-RT::User isn't a valid LookupType.  It's just RT::User.  See
the top of RT::CustomField for the valid types (or the html of the
Create CF admin page).

Thomas


More information about the rt-devel mailing list