[rt-users] adding custom field type, how to force single value
lenjaffe at jaffesystems.com
Thu Jun 19 12:34:23 EDT 2014
On Thu, Jun 19, 2014 at 12:19 PM, Kevin Falcone <falcone at bestpractical.com>
> On Wed, Jun 18, 2014 at 03:57:23PM -0400, Len Jaffe wrote:
> > How do I associate my new custom field Type
> "JSON_Encoded_Resource_Field" with
> > the "Fill in one text area" type. Is that a key value pair in the
> > CustomField_Local override?
> Please note, I wasn't suggesting that you use a custom type if you go
> the "only override display" route. You use the ShowComponentName
> callback in Elements/ShowCustomFields to say "For these CFs, use
> ShowCustomField_JSON_Encoded_Resource_Field" and then editing just
> works as a normal text box.
OK. BUT.. I think at some point I got an erro fo rnot having an Edit file
to go along with Show in the /Elements dir.
I'll try it out again later today.
> Alternately, again, ensure your MaxValues is set properly for your
> custom CF type.
Can I do that in the CustomField_Local file or do I have to specifically
manipulate the database?
> RT Training - Boston, September 9-10
lenjaffe at jaffesystems.com 614-404-4214 @lenjaffe
Information Technology Smoke Jumper, Host of Columbus Code Jam
Advent Planet <http://www.lenjaffe.com/AdventPlanet/> - An Aggregation of
Online Advent Calendars.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rt-users