function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
cmarkiewiczcmarkiewicz 

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?
thanks
chris
SuperfellSuperfell
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.