You need to sign in to do that
Don't have an account?
Scott Kay 4
More than 2000 records
Hi,
I am trying to interface my windows form applciation to Salesforce using the Salesforce Toolkits for .NET. When I query the object (table) I am interested in using the QueryAsync method I get back 2,000 records. I can see from your documentation that there is a QueryMore method but do not see anything like that in the .net toolkit. How can I get the rest of the records?
Thanks,
Scott Kay
I am trying to interface my windows form applciation to Salesforce using the Salesforce Toolkits for .NET. When I query the object (table) I am interested in using the QueryAsync method I get back 2,000 records. I can see from your documentation that there is a QueryMore method but do not see anything like that in the .net toolkit. How can I get the rest of the records?
Thanks,
Scott Kay
Thanks for your help Amit
All Answers
Hi Scott
You need to use QueryContinuationAsync method using nextRecordsUrl. Look at the code between line 60 to 90 in below github URL to get the idea on this
https://github.com/developerforce/Force.com-Toolkit-for-NET/blob/master/samples/SimpleConsole/Program.cs
Also some info here : https://developer.salesforce.com/blogs/developer-relations/2014/10/nothing-but-dotnet-querying-objects-new-force-com-toolkit-net.html
Please mark this as solution if this resolves your issue.
Thanks
Amit
Thanks for your help Amit