#250 ✓resolved
Nathan B

'dynamic fields' for any model.

Reported by Nathan B | September 21st, 2011 @ 09:49 AM

Summary (what & why)

Allow models such as Contact, Account, Lead, etc. to have dynamic fields added via an admin interface.
These would include validations and field types. Future plans would include filtering and searching.

What are the details?

For example, instead of writing database migrations and hacking view templates to add a new field, any administrator could do this quickly via the admin interface.

We have written a 'supertags' plugin that could do with some refactoring, and a lot of that code could possibly be moved into core fat free crm. Our supertags plugin contains the concept of 'custom fields', and while the database backend needs to re-written, a lot of the front-end code could be re-usable.

We would use a table called 'dynamic_fields' to store custom fields for classes, and a polymorphic 'DynamicFieldValue' model to store values for those fields. 'parent_type' could be a standard model (Contact, Account, etc.) or even a special class such as Tag, which would replace the supertag functionality.

Comments and changes to this ticket

  • netconstructor
  • Nathan B

    Nathan B June 3rd, 2012 @ 02:41 PM

    • State changed from “new” to “resolved”

    This has been done, and you can find the interface on the admin screen under 'Custom fields'.

  • Bernardriggs

    Bernardriggs June 25th, 2019 @ 03:50 AM

    Wedding is a legitimate way that interface two man with one another and make another connection. Presently it rely on you that you make this write my english paper connection solid or awful. Since an enormous number of individuals are disturbed after marriage due certain reasons. Be that as it may, I am the two of them are exceptionally upbeat in light of the fact that here I have seen every one of the photos of your wedding.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Ruby on Rails CRM platform for Web 2.0 and beyond

People watching this ticket

Pages