'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
-
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'.
-
poxole October 27th, 2021 @ 01:36 AM
When you’re working with a model, make sure you understand its dynamic fields. A model’s dynamic fields are the things that they do well, and how they perform. I am getting ideas from https://www.essaywritinglab.co.uk/assignment/ to solve quality work easily. You want to make sure that you know what those dynamic fields are and that you’ve got the people to help you build those dynamic fields.
-
alex hale January 20th, 2022 @ 02:02 AM
I appreciate this blog your blog is vert help full for me i really enjoyed this stuff dude https://bestsavingscoupon.com/stores/BrandsMart-USA
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.
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
- Nobody is watching this ticket.