Author: TomdeMan
Related Categories:
SalesForceCFC, ColdFusion
April 15, 2008
A few updates were made in the 0.4 release available at:
A major and a minor fix have been implemented. The major being the lack of xmlFormat() in earlier releases. This would prevent characters like '<' to be passed as part of a queryString when using the queryObject() method.
There is now methods to manipulate the timeout value for SOAP requests and a getMemento() method that will return all values stored with the instance.
- enhancement - added timeout handling for cfhttp
- enhancement - added getMemento()
- fix - added xmlFormat() to query and save methods
- fix - disabled throwonerror for cfhttp to return accurate success
I am on the fence over the throwonerror setting, and looking for some feedback.



Comments:
[Add Comment]
Brandon says:
First let me say THANKS for making this tool. I'm a mid-livel CF dev and an fairly new to WebServices integration, and you've given my project working with SalesForce API's a huge boost forward! I've run into a problem that is prob very simple, but perhaps not: I am able to Query my SalesForce instance (the Account object) using your CFC and am able to see the data I'd expect returned via a <cfdump>. There is a struct with a query inside. The question is how do I get the data out of the nested query? I'm simply trying to loop over the row(s) of the query and output into a table/grid? I feel like this should be simple, but I'm stuck. Any help you can provide would be greatly appreciated! By the way, I've got another "part" to my integration that involves another app that I need to interact w/via a similar type call structure to SalesForce (the app is Zuora.com) and when I've tackled that, I hope to share a similar ZuoraCFC with the rest of the community...
9/8/08 3:03 PM
Josh says:
I'm unable to access salesforcecfc.riaforge.org. Is there any other way to preview this cfc? Is it possible to email me the latest? Thanks.
10/2/08 5:28 AM
Dan L says:
First of all, let me say this is an awesome tool. Very nice work. I was just wondering, do you have to authenticate for every request or what? How do you know if you are logged in? Basically I am worried about the extra time it takes for login and am wondering how often I need to send the login info. Let me know, thanks!
1/19/09 12:02 PM
Dan L says:
Hey Brandon
To loop over the results, just reference the .results section of your structure.
So if your query was called MySFQuery, to loop over it
just use
<cfloop query="MySFQuery.Results">
I have done a pretty fair amount of work with this CFC, and even added some functionality to it. Seeing as Tom isn't great about responding to comments or email (I've tried), if you need any help you can ask me. Just hit me up at Kenji776 AT gmail.com (of course replace AT with @). Hope this helps.
7/1/09 2:27 PM
Dan L says:
Whoops, I didn't realize his post was older than dirt. Sorry. Oh well offer still stands for anyone who needs help.
7/1/09 2:28 PM
[Add Comment]