diff options
author | Ivan Kohler <ivan@freeside.biz> | 2015-07-09 22:32:26 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2015-07-09 22:32:26 -0700 |
commit | 026dc7ad72ba972f230b6709e31fa64397d75ad4 (patch) | |
tree | c5af1a7ac9154744afc3660e9a9405892f2bb50b /rt/docs/extending/external_custom_fields.pod | |
parent | 07b4bc84d1078f7390221d766cdb3142513db4b0 (diff) | |
parent | 1c538bfabc2cd31f27067505f0c3d1a46cba6ef0 (diff) |
merge RT 4.2.11 and Header changes to disable RT javascript, RT#34237
Diffstat (limited to 'rt/docs/extending/external_custom_fields.pod')
-rw-r--r-- | rt/docs/extending/external_custom_fields.pod | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/rt/docs/extending/external_custom_fields.pod b/rt/docs/extending/external_custom_fields.pod index f32bda769..5e70d3e40 100644 --- a/rt/docs/extending/external_custom_fields.pod +++ b/rt/docs/extending/external_custom_fields.pod @@ -57,6 +57,10 @@ web interface. See L</Configuration>. This method should return an array reference of hash references. The hash references should contain keys for C<name>, C<description>, and C<sortorder>. C<name> is most important one; the others are optional. +You can also optionally provide a key for C<category> and use the +"Categories are based on" option on the custom field configuration +page to make the values displayed for this custom field vary based +on the value selected in the "based on" custom field. =back @@ -77,9 +81,9 @@ Here's a simple static example: # return reference to array ([]) return [ # each element of the array is a reference to hash that describe a value - # possible keys are name, description and sortorder - { name => 'value1', description => 'external value', sortorder => 1 }, - { name => 'value2', description => 'another external value', sortorder => 2 }, + # possible keys are name, description, sortorder, and category + { name => 'value1', description => 'external value', sortorder => 1, category => 'Other CF' }, + { name => 'value2', description => 'another external value', sortorder => 2, category => 'Other CF' }, # values without description are also valid, the default description is empty string { name => 'value3', sortorder => 3 }, # you can skip sortorder too, but note that the default sortorder is 0 (zero) |