+ Start a Discussion

retrieve method - retrieve all fields (wildcard?)

Hello. I have an array of IDs and I want to get all corresponding objects. The retrieve method seems ideally suited for this, but I want to return all fields. Can I use a wildcard as the field list parameter? Should I be using some other method? Or do you discourage the use of wildcards in this instance?
There's no wildcard, but you can use the describeSobject call to get a list of fields, which you can use to populate the field list to the retreive call.