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
marabenmaraben 

dynamic discovery

I want to retrieve data for a product, including any newly added fields, without having to manually get the latest WSDL file each time. The office toolkit manages to do it. Any suggestions?
ScotScot

The toolkit uses the Partner API rather than the Enterprise API. This API handles the field meta-data dynamically, so the WSDL does not need to be updated when the objects change.

You can do the same thing.  For a good explanation, see the API documentation, Sforce Partner Web Services API chapter, Introducing the Sforce Partner Web Services API.

DevAngelDevAngel
I would also take a look at the sforce Explorer which is basically a huge C# example of using the partner API.

http://prdownloads.sourceforge.net/sforce/sforceExplorer60.msi?download
marabenmaraben
Thanks. I knew it must be possible, just a matter of seeing how someone else has done it.
marabenmaraben
Thanks Scot, I shall try looking at the source code for sforce explorer as suggested by DevAngel.
NaagNaag

hi,

please help me to download enterprise.wsdl through the c# code.

 

thanks,

naag.