Prefill adaptive form which is created out of JSON schema model

Avatar

Avatar
Validate 10
Level 3
rohitn62196663
Level 3

Likes

12 likes

Total Posts

66 posts

Correct reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile

Avatar
Validate 10
Level 3
rohitn62196663
Level 3

Likes

12 likes

Total Posts

66 posts

Correct reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile
rohitn62196663
Level 3

14-05-2018

I am try to prefill an adaptive form which has the data model created out of json schema. I have gone through the below url to understand how the prefill woks in adaptive forms.

Adobe Experience Manager Help | Prefill adaptive form fields https://helpx.adobe.com/experience-manager/6-2/forms/using/prepopulate-adaptive-form-fields.html#mai...

But in this example I see the form created out of an XML schema and the prefill data is also in form of xml with bound and unbound tags. In the sameway can I configure json with bound and unbound tags to prefill the form or is it mandatory to have an xml ?

Replies

Avatar

Avatar
Validate 1
Level 2
Jean-foxfly
Level 2

Likes

13 likes

Total Posts

18 posts

Correct reply

3 solutions
Top badges earned
Validate 1
Give Back 3
Give Back
Boost 5
Boost 3
View profile

Avatar
Validate 1
Level 2
Jean-foxfly
Level 2

Likes

13 likes

Total Posts

18 posts

Correct reply

3 solutions
Top badges earned
Validate 1
Give Back 3
Give Back
Boost 5
Boost 3
View profile
Jean-foxfly
Level 2

28-11-2018

Hi rohitn62196663,

You can use JSON. the model is:

{

    "afBoundData": {

        "employeeData": { }

    },

    "afUnboundData": {

        "data": {

            "textbox": "Hello World",

            "numericbox": "12"

        }

    }

}

See more details in: Adobe Experience Manager Help | Prefill adaptive form fields