[rt-users] adding custom field type, how to force single value

Len Jaffe 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>
wrote:

> 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?


 Len.

>
> -kevin
>
> --
> RT Training - Boston, September 9-10
> http://bestpractical.com/training
>



-- 
lenjaffe at jaffesystems.com   614-404-4214    @lenjaffe
Information Technology Smoke Jumper, Host of Columbus Code Jam
<http://www.meetup.com/techlifecolumbus/>
www.lenjaffe.com     http://www.theycomewithcheese.com
Advent Planet <http://www.lenjaffe.com/AdventPlanet/> - An Aggregation of
Online Advent Calendars.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20140619/80e5f225/attachment.htm>


More information about the rt-users mailing list