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
bssantoshbssantosh 

Datafields

Hi,
 
Where can I find a list of the various datafields to query with.
Eg. I need to retrieve all campaigns of type="listcode".
Where can I find all the column names to query with?
Gareth DaviesGareth Davies
Hi download our Developer's Sidekick. It's free of charge and does exactly that.
 
 
DevAngelDevAngel
You will need to use the describeSObject call.  This call returns all the metadata associated with a particular object, including all the fields that you have access to with their names and labels and data types.

If you want to build and test various queries, there are a couple of tools available, the one from Gareth Davies or you could use the sforce Explorer.  The sforce explorer also can be used as a sample as the source code is available as well.  Download sforce Explorer.