Expand my Community achievements bar.

Prefill adaptive form which is created out of JSON schema model

Avatar

Level 4

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 ?

1 Reply

Avatar

Level 3

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