REQUEST A DEMO

Tag: json

Binding JSON Data to a Clarify control using ClearBasic

April 18, 2011 A while back, I posted some information on how to consume JSON data in ClearBasic.   Someone recently asked me if you could bind a set of data from a web service into a Clarify grid. Of course. Similar idea to what I posted earlier, just now we want to take the object that we created from the JSON, and turn it into something that the Clarify UI can consume. For a Clarify grid, a list of records will work.   I created a simple web service that returned a collection of data in JSON format. To be honest, I used the Dovetail SDK to query for a list of the user’s open cases, and return it in JSON format. But the web service could return any data, from any source.   Here’s the basic code:     Transpose a JavaScript Object Into…