Populating form data with FDM from a REST Service

Avatar

Avatar

LeenaJaIN

Avatar

LeenaJaIN

LeenaJaIN

04-06-2020

Hi 

 

I have created a FDM based on REST service.In my Adaptive Form , I created a rule to invoke the FDM service using AuthID input parameter.This should return me a jason response.How do I map this response back to my form, since i am getting null when trying to map in a textField. Also tried to create a variable and mapped into that but receiving null/undefined.

 

When i am directly testing my FDM through Test Service I get a proper response,

 

Kindly help.

 

Thanks ,

Leena Jain

View Entire Topic

Avatar

Avatar

LeenaJaIN

Avatar

LeenaJaIN

LeenaJaIN

08-06-2020

HI Mayank,

 

following response from FDM:

 

{
    "id": "1234",
    "dob": "07/30/1978",
    "name": {
        "first": "yriur",
        "middle": "ckjhc",
        "last": "yeiuhr"
    },
    "accounts": [
        {
            "accountNumber": "1234",
            "primaryPhone": "35474894004",
            "mailingAddress": {
                "street": "310 ",
                "city": "WEAVERVILLE",
                "state": "NC",
                "zip": "28787"
            },
            "ownerType": {
                "type": "JOINT",
                "description": "JOINT "
            },
            "primaryEmail": "noemail@test.com",
            "owners": [
                {
                    "name": {
                        "first": "JAY",
                        "middle": "IAN",
                        "last": "FINE"
                    }
                }
            ]
        }
    ]
}