+ Start a Discussion
Gautam_KasukhelaGautam_Kasukhela 

Parsing JSON response in return URL

Hello All,
    I have a requirement wherein, I need to make a third party call out on click of a custom VF button. While making the call out the external system shows a popup (the external system uses window.open() ) and in here I need to enter the input data.

onclick="window.open('http://thirdparty-callout')"

When I submit the data, a JSON response is returned on the new window. The challenge that I am facing is to parse this data which is on another window. Is there a way by which I can set the JSON response in a responseURL and send it to my VF page to parse it there?

Regards,
Gautam.