Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
Scott Meyer
0
Views
1
Comments
How to return JSON from a Web Screen.
Question
We have a legacy html form that a customer will use to provide contact information. We are trying to use a jquery post of the data to an agile oml that will insert the data to a table and and send the customer to a thank you screen in the legacy html code. We are sending the data using JSON JQuery post and the call is expecting JSON formatted data back.
How do you respond with JSON formatted data from a Web Screen?
Paulo Tavares
Staff
Hi Scott,
That's a good question. The correct way to do it, if we understood your question correctly, would be to create the content you want to return in a Preparation action, and then finish the Preparation action with a Download node, returning the content you'd like to return.
Daniel Lourenço has done a great job explaining something similar to it
in this post here
.
We hope this helps.
Regards,
Paulo Tavares
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...