[rt-users] Linked fields

Sysadmin Sysadmin at ruralnetwork.net
Thu Aug 26 19:24:22 EDT 2010


I'm trying to add Custom Fields in the Requester area of the ticket. I 
got the first Custom Value, but cannot get the second custom value?

the first was:

<span class="label"><&|/l&>Account #:</&>:</span><br />
 > <b class="value"><% ($requestor->FirstCustomFieldValue('Room') ||
 > loc("No Account # entered for this user")) %></b><br />

  and I tried:

# <span class="label"><&|/l&>IP:</&>:</span><br />
# <b class="value"><% ($requestor-> SecondCustomFieldValue('IP Address') 
|| loc("No IP Address entered for this user")) %></b><br />


For the second, but that doesn't work. any Ideas?

Thanks,

David
System Admin
RNS

Running RT 3.8.7

On 8/16/2010 9:40 AM, Björn Schulz wrote:
> Hi David,
>
> I use user CFs and a customized ShowRequestor in
> .../Ticket/Elements/ShowRequestor. Not a special service Ticket.
>
> <span class="label"><&|/l&>Phone:</&>:</span><br />
> <b class="value"><% ($requestor->WorkPhone || loc("No WorkPhone
> entered about this user")) %></b><br />
>
> or
>
> <span class="label"><&|/l&>Room:</&>:</span><br />
> <b class="value"><% ($requestor->FirstCustomFieldValue('Room') ||
> loc("No room entered about this user")) %></b><br />
>
> Hope this helps
>
>   Björn
>
>
>
>
> Am 13.08.10 23:18, schrieb Sysadmin:
>> Is there a way to " link"custom fields? So, I trying to link custom
>> field data, so that custom fields like Account #, Customer Equip, Phone
>> #, that exist in a service ticket and in the user information, will
>> populate each other, ie in creating a service ticket for a /new
>> custome/r, the linked custom field data input in the ticket will
>> populate the user information custom field data. And vice-versa if the
>> customer already exists, then the ticket, would pull data from the user
>> information data.
>>
>> David
>> System Admin
>> RNS
>>
>>
>>
>>
>>
>>
>>
>> RT Training in Washington DC, USA on Oct 25&  26 2010
>> Last one this year -- Learn how to get the most out of RT!
>



More information about the rt-users mailing list