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
Dave WallinDave Wallin 

using * wildcard in queries...

I am unable to use the asterix (*) in any of my queries/retreives to get back all fields...
example:

this.clientBinding.retrieve("*", moduleClass, new string[] { id }); and

this.clientBinding.retrieve("(*)", moduleClass, new string[] { id });

both throw exceptions that do not recognize the * as a valid field name.  The same thing happens when I use in in queries.  Can anyone enlighten me on this subject?  Thanks.

BGrimesBGrimes

So are you trying to retrieve all columns then from the table based on the ID?  In my integrations I've simply created the column list via a describeSObject call on that table to concatenate the columns string.  Not sure about the wildcard.  If you try that in the Apex Explorer for that object does it fail as well?


Bryan

SteveBowerSteveBower

Go and promote:   http://ideas.salesforce.com/article/show/70004/Select__capability

-S