« Are Apple Power Adapters Suspicious? | Main | ColdFusion and Types »
January 6, 2004
ColdFusion Query Objects and Central
It seems that Central does not deserialize ColdFusion query objects returned from web service calls in the same way that Flash MX 2004 does. Instead, you get back an object with a property called "columnList" (which is an array), and a property called "data" which is also an array. It's not hard to massage the data from there, but fortunately, the Central SDK comes with a handy utility written by Mike Chambers called QueryToDataProvider which does the work for you. It's located in Utilities/classes. If you are integrating Central with ColdFusion, you will probably want to check it out.
Posted by cantrell at January 6, 2004 3:29 PM
Comments
how does MX2k4 do it?
Posted by: dave at January 6, 2004 5:32 PM
Flash MX 2004 returns the query as an array of objects. The objects have properties for each column in the query.
Posted by: Christian Cantrell at January 7, 2004 10:17 AM
I couldn't find the classes necessary in the utilities
Posted by: Niaron at February 14, 2004 7:41 AM