Seeking Best Practices for Adaptive Form Development with XDP and JSON Schema
Hi Team,
We're looking for best practices for form development focused on performance and maintainability.
Previous Approach (AEM 6.5.21 OSGi Forms):
Created forms using XML Schema
XDP was mapped to this XML Schema
Used foundational components, not AF core components
DoR requirement: Used XDP for PDF generation
Current Approach:
Forms are based on JSON Schema
XDP still uses XML Schema (since AEM Forms Designer only supports XML Schema)
We're uploading JSON Schema + XML Schema + XDP
Field names must match across all three for binding to work
Using AF core components for better performance
What We Need Help With:
We’re considering using only JSON Schema and relying on bindRef (name-based binding) instead of uploading XML Schema.
However, since AEM Forms Designer (for XDP) doesn’t support JSON Schema, is this a feasible and reliable approach?
We’re generating the DoR using:
DoROptions dorOptions = new DoROptions();
Looking for your recommendation:
Should we continue using JSON + XML Schema + XDP?
Or is it better to simplify and use JSON Schema + bindRef (name-based binding) only?
Thanks,
Vara