New to Google Cloud? Get $300 in free credit to explore Compute Engine, BigQuery, Cloud Run, Vertex AI, and 150+ other products.
Start your next project with $300 in free Google Cloud credit. Spin up VMs, run containers, query exabytes in BigQuery, or build AI apps with Vertex AI and Gemini. Once your credits are used, keep building with 20+ products with free monthly usage, including Compute Engine, Cloud Storage, GKE, and Cloud Run functions. Sign up to start building right away.
Start Free Trial
Go From Idea to Deployed AI App Fast
One platform to build, fine-tune, and deploy. No MLOps team required.
Access Gemini 3 and 200+ models. Build chatbots, agents, or custom models with built-in monitoring and scaling.
Components to generate a flex (spark) form dynamically
Proof of concept project to investigate the potential to generate Flex forms from a dynamic (possibly externalised) source to cut development time building common form functionality.
I've previously used 'control' classes to allow non technical users to configure form validation parameters in an external XML file, however the form & model still required development time.
As an extension of the form class to function more like a SkinnableDataComponent the form items become 'ItemRenderers' containing typical inputs. Bi-directional binding is maintained by introducing a DynamicModel class which is also capable of tracking dirtied fields & performing validation.