From c82d349f864e6bd9f96fd1156903bc1f7193a203 Mon Sep 17 00:00:00 2001 From: cvs2git Date: Mon, 27 Dec 2010 00:04:45 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'TORRUS_1_0_9'. --- rt/docs/creating_external_custom_fields.pod | 97 ----------------------------- 1 file changed, 97 deletions(-) delete mode 100644 rt/docs/creating_external_custom_fields.pod (limited to 'rt/docs/creating_external_custom_fields.pod') diff --git a/rt/docs/creating_external_custom_fields.pod b/rt/docs/creating_external_custom_fields.pod deleted file mode 100644 index f8eca44fb..000000000 --- a/rt/docs/creating_external_custom_fields.pod +++ /dev/null @@ -1,97 +0,0 @@ -=head1 External custom fields - -=head2 Description - -C is extension to custom fields that allow -you to define CF with a dynamic list of values. Loading values into -this custom fields requires writing a little Perl code to fetch the -data from the external source; the code that we added to RT 3.7 -allows it to load data from arbitrary external sources. - -=head2 Introduction into writing source of values - -For each type of data source that you want, you'll need to put a file -in F (or equivilent if you -installed RT someplace other than F). To get a sense of the -code that you'll need to write, take a look at the code in -L for a simple example -which just uses RT's API to pull in a list of RT's groups. - -Running C will -show you the documentation for the API that needs to be fulfilled, by -copying and editing the C example is probably a fine place to -start. - -Later in this doc we'll describe the example a little bit more. - -=head2 Configuration - -After the custom code is written, you need to tell RT about its -existence by adding something like following to your RT_SiteConfig.pm: -Set(@CustomFieldValuesSources, "RT::CustomFieldValues::MySource"); - -The value in quotes should be the name of the class that you created. - -Stop and start your web server to enable any config changes. Open the web interface with -as an administrative user (such as root) create new custom field. In order to use -a custom source of values, you should select a custom field type -that lets users pick values from a list, for example it could be C