You need to sign in to do that
Don't have an account?
JBall
Flex retrieve function
Is anyone else having problems with Connection.retrieve function in SFDC Flex? If I make an array of fields to retrieve greater than 1 in length (e.g. ['Name', 'Phone'] from Account), I get the following error:
fault from operation: (com.salesforce.results::Fault)#0
detail = (null)
faultcode = "soapenv:Client"
faultstring = "Element {urn:partner.soap.sforce.com}ids invalid at this location"
I've tried several variations on the array, with the names in double-quotes, using an ArrayCollection.toArray, an array defined as above as the argument, and an array variable, all with the same results. The retrieve call works just fine for a fields array of length 1, however.
Thanks,
John
fault from operation: (com.salesforce.results::Fault)#0
detail = (null)
faultcode = "soapenv:Client"
faultstring = "Element {urn:partner.soap.sforce.com}ids invalid at this location"
I've tried several variations on the array, with the names in double-quotes, using an ArrayCollection.toArray, an array defined as above as the argument, and an array variable, all with the same results. The retrieve call works just fine for a fields array of length 1, however.
Thanks,
John
basicaly you now pass a string which is a list of fields, rather than an array of field names.
more like the AJAX toolkit is.
look for R 3_5 to have this fix.
Message Edited by Ron Hess on 06-14-2007 01:16 PM