How to extract JSON schema from HTML5 Form
Hi all,
I have a use case and wanted to get your thoughts and suggestions to move forward with implementation.
We design forms (XDP) and then bind them to a JSON schema. We share a bcs file with our partners that explains them what each field on the form accepts.
As you know, based on these defined bindings, we render the form with request payload (JSON) and generate a fillable prefilled PDF document. Our render service is a custom service built on top of Forms render service, only difference being request is a JSON payload unlike XML.
We are now trying to render these XDPs as HTML5 forms and need a way to generate this JSON from within the HTML form, so we can feed that JSON data to our downstream systems. I do not see a straight forward way to implement this as JSON would contain the binding names versus XML which contains object names. We looked at Form Bridge API but it can only export XML. Ony possibility is building the JSON structure based on all bindings available in the form. Does this make sense ? any other better ways to get this done ?

