(This topic is related to my older "un-reviewed" feature request on ME Support area)
Recently, I came across some interesting custom SQL fields. You can find such fields in CommunityBuilder (Incubator project, 3rd Party by SoftForge.co.uk), FlexiContent, Seblod2 (dynamic selectbox) and ContactEnhanced. Some have a helping GUI. Some have a simple input textarea.
They allow to enter custom SQL queries! A great feature if you need to pull data from other tables in the internal DB. (e.g. CB Querie field supports external DB tables)
More or less Resources1.5 does something similar in the Records-field, but with pre-defined queries via a select-box. It would be nice to have a custom query field as a seperate field plugin or a new advanced Cobalt-Records-field.
Technically, it might have different working modes, because of performance reasons. IMHO, a good example is SoftForge CB MySQL field. I like most the different modes: display, save, both! Also, entering the query is made simple by multiple input fields.
FlexiContent has an interesting approach: Each Select/MultiSelect field has an option to use a Custom SQLquery.
The ContactEnhanced component has a query input field, which seems to generate different markup on output: Multiple values become a selectbox in frontend.
Possible use-cases and benefits:
- display data from different components (internal, external DB)
- fill submission form elements with dynamic values
- save and update other tables and fields (integration with other extensions)
Thanks for listening.
(This topic is related to my older "un-reviewed" feature request on ME Support area)
Recently, I came across some interesting custom SQL fields. You can find such fields in CommunityBuilder (Incubator project, 3rd Party by SoftForge.co.uk), FlexiContent, Seblod2 (dynamic selectbox) and ContactEnhanced. Some have a helping GUI. Some have a simple input textarea.
They allow to enter custom SQL queries! A great feature if you need to pull data from other tables in the internal DB. (e.g. CB Querie field supports external DB tables)
More or less Resources1.5 does something similar in the Records-field, but with pre-defined queries via a select-box. It would be nice to have a custom query field as a seperate field plugin or a new advanced Cobalt-Records-field.
Technically, it might have different working modes, because of performance reasons. IMHO, a good example is SoftForge CB MySQL field. I like most the different modes: display, save, both! Also, entering the query is made simple by multiple input fields.
FlexiContent has an interesting approach: Each Select/MultiSelect field has an option to use a Custom SQLquery.
The ContactEnhanced component has a query input field, which seems to generate different markup on output: Multiple values become a selectbox in frontend.
Possible use-cases and benefits:
Thanks for listening.