You need to sign in to do that
Don't have an account?
kcoste
MALFORMED QUERY - Aggregate query not allowed with this Api version
I'm running eclipse 3.4.2. When I open the Schema Browser and try to run this simple aggregate query:
SELECT FirstName, LastName FROM Contact GROUP BY FirstName, LastName
I get the error "MALFORMED QUERY - Aggregate query not allowed with this Api version".
When I create a new Apex Class, I can only select version 16.0.
How can I use the latest Api (18.0), so that I can use aggregates?
Thanks,
--Ken
For triggers and classes, both suggestions look like acceptible workarounds.
The thing that's frustrating me is that when I right-click "salesforce.schema" and select Open with -> Schema Browser, it won't allow version 18.0 features (aggregates, etc).
I typically flesh out queries that way before pasting them into code.
Is there a setting in eclipse that says what Api version to allow in the Schema Browser?
Thanks,
--Ken
I guess that'll work for now.
Thanks,
--Ken