Improve support for working with fields via a "typed" field collection
See original GitHub issueProposal for future improvement:
Today web/list fields can be read and returned as a collection of IField
. This works fine for basic fields but for more complex fields (eg taxonomy fields) part of the field definition (e.g. term set id) lives inside the field’s SchemaXml
property. What if there was a method AsTypedFields()
on the current IFieldsCollection
that would return the fields a collection of ITextField
, IBoolField
, ITaxonomyField
…all inheriting from a common ITypedField
. This way developers don’t have to parse the field xml themselves, they can just use a typed experience to work with the field properties.
These typed fields should also have the respective Update
and Delete
methods to allow for easy updating of the field.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Improving performance with Field Collections? - Drupal Answers
I'm using using entity reference, field collection , and field collection table modules on a site that features "courses" and "lessons" as ...
Read more >Fieldcollection | Pimcore Development Documentation
Object field collections are predefined sets of data and layout fields, that can be added to objects at an arbitrary amount. An object...
Read more >Work Type Fields for Field Service
Work types have the following fields. Some fields may not be visible or editable depending on your page layout and field-level security settings.Required......
Read more >CMS (Formerly Content Manager) - Field Types
In your CMS collections, the field type determines what kind of content you can store in the field. The field type also determines...
Read more >Customize the fields of a request type | Jira Service ...
Learn how to customize the fields for a request type's request form or issue view in Jira Service Management.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks @s-KaiNet , nice and simple solution for the problem. I like it!
Yeah, as you suggested, let’s start with the taxonomy field adjustment and will see if additional options or needs will popup.