[rt-devel] External custom fields - use of description value

Christian Loos cloos at netcologne.de
Mon Oct 27 03:32:42 EDT 2014


the select type custom fields sadly don't use the description at all.
But if you switch the type for the custom field to "Enter one value with
autocompletion", the autocomplete list displays "Name (Description)".
Maybe this is an option for you.


Am 26.10.2014 um 20:08 schrieb Ben Kelly:
> Hello,
> We are using a custom field in our RT environment with an external
> source to obtain selectable values. Our code is based on the
> documentation
> here: https://www.bestpractical.com/docs/rt/4.2.9/extending/external_custom_fields.html.
> We are providing both the 'name' and 'description' in the returned
> result. We are using the custom field in our tickets.
> We wish to have the 'description' field provided by our external source
> displayed in the select element on the ticket form and the 'name' field
> stored in the database, however only the name field is being displayed.
> Is it possible to show the description field in the select box and store
> the name field in the database if it is selected? Or is this working as
> intended?
> Also, what is the purpose of providing a description field at all? I can
> not find any other mention of this field in the documentation.
> Appreciate any help or advice you could send my way.
> Cheers,
> Ben

More information about the rt-devel mailing list