Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

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

techddx
Level 4
Level 4

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?

1 Accepted Solution
gbedekar
Correct answer by
Level 4
Level 4

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

 

 

View solution in original post

2 Replies
Mayank_Gandhi
Community Advisor
Community Advisor

@techddx Is the xdp in DS different from DOR?

gbedekar
Correct answer by
Level 4
Level 4

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

 

 

View solution in original post