[rt-users] FreeformContactInfo with MoreAboutRequestorExtraInfo

Rob Ansaldo rlansaldo at amherst.edu
Thu Jan 24 05:50:31 EST 2013


On 01/23/2013 08:08 PM, trs wrote:

> On 01/23/2013 07:16 PM, Rob Ansaldo wrote: 
>> We would like to display FreeformContactInfo in the "More about 
>> requestor" section of the ticket display. We already populate this 
>> field with info useful to our help desk staff and had customized RT3 
>> to display this. 
>> 
>> After upgrading to RT4, I cannot figure out how to get this to 
>> display in the "More about requestor" area. I have added 
>> FreeformContactInfo to the MoreAboutRequestorExtraInfo setting in the 
>> RT_SiteConfig and have created a custom local/lib/RT/User_Local.pm 
>> file where FreeformContactInfo is set to "public", yet the 
>> FreeformContactInfo from the db still does not appear. What am I 
>> missing? 

> Can you show us your User_Local.pm as well as your config where you set 
> MoreAboutRequestorExtraInfo?

>From etc/RT_Config.pm:

Set($MoreAboutRequestorExtraInfo,"FreeformContactInfo Name EmailAddress Organization NickName Address1 Address2 City State Zip Country HomePhone WorkPhone");

>From local/lib/RT/User_Local.pm:

package RT::User;
use strict;
use warnings;

sub _LocalAccessible {
    {
Name                => { public => 1, admin=> 1 },
EmailAddress        => { public => 1, admin=> 1 },
FreeformContactInfo => { public => 1, admin=> 1 },
RealName            => { public => 1, admin=> 1 },
NickName            => { public => 1, admin=> 1 },
ExternalAuthId      => { public => 1, admin=> 1 },
HomePhone           => { public => 1, admin=> 1 },
Address1            => { public => 1, admin=> 1 },
Address2            => { public => 1, admin=> 1 },
City                => { public => 1, admin=> 1 },
State               => { public => 1, admin=> 1 },
Zip                 => { public => 1, admin=> 1 },
Country             => { public => 1, admin=> 1 },
WorkPhone           => { public => 1, admin=> 1 },
    }
}
__PACKAGE__->_BuildTableAttributes;

1;



More information about the rt-users mailing list