Linked fields

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

Bj�rn,

 Yes this worked well and I think I can use this, thank you.  

However, how do you list the second custom value? I tried

<&|/l&>IP:</&>:

<% ($requestor-> SecondCustomFieldValue(‘IP Address’)

|| loc(“No IP Address entered for this user”)) %>

But that doesn’t work. any Ideas?

Thanks,

David
System Admin
RNSOn 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.

<&|/l&>Phone:</&>:

<% ($requestor->WorkPhone || loc(“No WorkPhone
entered about this user”)) %>

or

<&|/l&>Room:</&>:

<% ($requestor->FirstCustomFieldValue(‘Room’) ||
loc(“No room entered about this user”)) %>

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!

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:

<&|/l&>Account #:</&>:

<% ($requestor->FirstCustomFieldValue(‘Room’) ||
loc(“No Account # entered for this user”)) %>

and I tried:

<&|/l&>IP:</&>:

<% ($requestor-> SecondCustomFieldValue(‘IP Address’)

|| loc(“No IP Address entered for this user”)) %>

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

Thanks,

David
System Admin
RNS

Running RT 3.8.7On 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.

<&|/l&>Phone:</&>:

<% ($requestor->WorkPhone || loc(“No WorkPhone
entered about this user”)) %>

or

<&|/l&>Room:</&>:

<% ($requestor->FirstCustomFieldValue(‘Room’) ||
loc(“No room entered about this user”)) %>

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!

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?

You appear to misunderstand FirstCustomFieldValue. It is the first
value for the custom field passed in. It has nothing to do with
something being the ‘third CF assigned to a ticket’.

If you actually have a custom field with multiple values, you want to
reread the documentation in RT::Record and look for the similarly
named method a few lines later

-kevin