[rt-users] Return Requestor Organization information from Dashboard "Rt at a glance" page

Shawn O'Connor oconshaw at yahoo.com
Fri Sep 17 08:21:02 EDT 2010


Thanks for the reply back.  I had tried what you suggested previously, and I tried again per your instructions, but I'm met with the following error.  Either I'm calling it incorrectly or that isn't the right command.  See error below:

error:   	Can't call method "Organization" on an undefined value at /opt/rt3/share/html/Elements/RT__Ticket/ColumnMap line 176.
context:  	
...  	
172:  	Requestors => {
173:  	title => 'Requestors', # loc
174:  	attribute => 'Requestor.EmailAddress',
175:  	#value => sub { return $_[0]->CreatorObj->Organization }
176:  	value => sub { return $_[0]->Requestors->UserMembersObj->First->Organization }
177:  	#value => sub { return $_[0]->Requestors->MemberEmailAddressesAsString }
178:  	},
179:  	Cc => {
180:  	title => 'Cc', # loc
...  	
code stack:  	/opt/rt3/share/html/Elements/RT__Ticket/ColumnMap:176
/opt/rt3/share/html/Elements/CollectionList:125
/opt/rt3/share/html/Elements/ShowSearch:54
/opt/rt3/share/html/Widgets/TitleBox:51
/opt/rt3/share/html/Elements/ShowSearch:55
/opt/rt3/share/html/Elements/MyRT:95
/opt/rt3/share/html/index.html:86
/opt/rt3/share/html/autohandler:311
raw error

Thanks for your help!


      



More information about the rt-users mailing list