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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

How to create XDP based on adaptive form

Avatar

Level 2

I am aware that XDP can be used in the adaptive form as a data model but I need to create xdp which listens to the adaptive form data.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

@formuser1 What I assume is you want to bind the form data to xdp. Then you need to do three things:

 

1. Fill out the Adaptive form and extract the data using GuideBridge API

guideBridge.getDataXML({
success : function (guideResultObject) {
console.log("xml data received" + guideResultObject.data);
}});

2. Use the XML obtained to convert it to XSD, you can do it manually or using the online tool but be cautious about the repeatable elements.

https://www.liquid-technologies.com/online-xml-to-xsd-converter

3. Use the XSD from (2) in the designer and bind the XDP to the schema elements using data view tab.

 

Mayank_Gandhi_0-1665988475704.png

 

View solution in original post

2 Replies

Avatar

Correct answer by
Employee Advisor

@formuser1 What I assume is you want to bind the form data to xdp. Then you need to do three things:

 

1. Fill out the Adaptive form and extract the data using GuideBridge API

guideBridge.getDataXML({
success : function (guideResultObject) {
console.log("xml data received" + guideResultObject.data);
}});

2. Use the XML obtained to convert it to XSD, you can do it manually or using the online tool but be cautious about the repeatable elements.

https://www.liquid-technologies.com/online-xml-to-xsd-converter

3. Use the XSD from (2) in the designer and bind the XDP to the schema elements using data view tab.

 

Mayank_Gandhi_0-1665988475704.png