• undees
  • NEWBIE
  • 0 Points
  • Member since 2005

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 6
    Replies
I've got a report that's been prepared by someone else -- basically just a filtered list of contacts -- that I'd like to retrieve. What kind of object is this? I'd think it was a Folder, perhaps, but trying to retrieve it as a Folder returns an error. If the report has a SFID of "n", what does the query look like to retrieve all the contacts in the report?

Thanks,

undees
  • October 26, 2005
  • Like
  • 0
Hi, all.

I've slapped together a lightweight little Ruby binding for the SalesForce API. The project was inspired by the older XMLRPC-based wrapper and the generic soap4r library (though it doesn't actually use either one).

The .rb file is available at http://rubyforge.org/projects/rforce.
Documentation (such as it is) is at http://rforce.rubyforge.org.

Enjoy!
  • September 02, 2005
  • Like
  • 0
Hi. I'm using the Ruby SOAP4r library with the Enterprise portal to try to add a new Opportunity. I create a new Opportunity object and add all the fields that SalesForce appears to require:


opp = Opportunity.new
class << opp
attr_accessor :accountId, :amount, :name, :closeDate, :stageName
end

opp.accountId = the_account
opp.amount = "3.14"
opp.name = "Test from script"
opp.closeDate = "2005-8-25"
opp.stageName = "Closed Won"

binding.create(Create.new([opp]))


But I consistently see the error message "common.exception.ApiException: Must send a concrete entity type. (SOAP::FaultError)". I don't get it. What could be more concrete than an Opportunity? How can I find out what piece of information SForce is missing? Should I add more fields? Which ones?

Before you ask, yes, I've regenerated my WSDL files and rerun wsdl2ruby.
  • August 26, 2005
  • Like
  • 0
I've got a report that's been prepared by someone else -- basically just a filtered list of contacts -- that I'd like to retrieve. What kind of object is this? I'd think it was a Folder, perhaps, but trying to retrieve it as a Folder returns an error. If the report has a SFID of "n", what does the query look like to retrieve all the contacts in the report?

Thanks,

undees
  • October 26, 2005
  • Like
  • 0
Hi, all.

I've slapped together a lightweight little Ruby binding for the SalesForce API. The project was inspired by the older XMLRPC-based wrapper and the generic soap4r library (though it doesn't actually use either one).

The .rb file is available at http://rubyforge.org/projects/rforce.
Documentation (such as it is) is at http://rforce.rubyforge.org.

Enjoy!
  • September 02, 2005
  • Like
  • 0
Hi. I'm using the Ruby SOAP4r library with the Enterprise portal to try to add a new Opportunity. I create a new Opportunity object and add all the fields that SalesForce appears to require:


opp = Opportunity.new
class << opp
attr_accessor :accountId, :amount, :name, :closeDate, :stageName
end

opp.accountId = the_account
opp.amount = "3.14"
opp.name = "Test from script"
opp.closeDate = "2005-8-25"
opp.stageName = "Closed Won"

binding.create(Create.new([opp]))


But I consistently see the error message "common.exception.ApiException: Must send a concrete entity type. (SOAP::FaultError)". I don't get it. What could be more concrete than an Opportunity? How can I find out what piece of information SForce is missing? Should I add more fields? Which ones?

Before you ask, yes, I've regenerated my WSDL files and rerun wsdl2ruby.
  • August 26, 2005
  • Like
  • 0