Using Form Data Model as Form Model with Dynamic XDP Document of Record

Avatar

Avatar

techddx

Avatar

techddx

techddx

26-10-2020

Is there documentation on how to use a FDM with a dynamic XDP DoR? When editing the adaptive form, it only shows/binds the fields available in the data source. How do you bind these fields with the fields in the XDP?

View Entire Topic

Avatar

Avatar

gbedekar

Avatar

gbedekar

gbedekar

26-10-2020

I do not think you can do that. if you want to merge  Adaptive Form data with your existing xdp template you can do one of the two things

Create your Adaptive Form and base it on your XDP template(depending on the size of your xdp template this could cause performance issues)

Create XSD schema use it in your XDP and AF.

When the AF is submitted it is quite easy to merge the data with the XDP template

With Form Data Model the data you get on submission will be in JSON format and if you want to merge with your XDP template you will have to convert that into XML format