News combit Dev Blog

Easily Connecting to Salesforce Data

Posted: Friday, October 6, 2017 | 0 comment(s)
 
No matter which data, using the DataProvider interface you can write your own custom binding. And of course we ship a whole family of providers with List & Label. In LL23, there's a new member of this family that allows your applications to connect to Salesforce data easily.

Salesforce is an international vendor of cloud application solutions for businesses. By binding List & Label to the cloud based data, your applications are now able to provide detailed analyses of sales and campaign data. The provider directly connects to the Salesforce web service using credentials that are provided by the application. As we've made sure to keep the number of requests as low as possible, this has finally become feasible with LL23. Starting the Designer with the full Salesforce data model is just a few lines of code:

SalesforceDataProvider provider = new SalesforceDataProvider("<UserName>", "<Password>");

using (ListLabel LL = new ListLabel() { DataSource = provider })
{
    LL.Design();
} 

On my machine it then takes about 5,5 seconds to open the Designer with 320 tables and all relations. As I was too lazy to count them all, I've just extended our debug output during writing this blog post to confirm this information:
 

Identifiers                    : 21 (in this process)

Tables                         : 320 (in this process)


And Fiddler tells me we've only used six requests so far, which is crucial as Salesforce is partly charged by the number of requests.

 

The Salesforce provider also supports native filtering , so a filter like

 

Contains(Account.Industry, "Consulting")

 

results in a query like

where the queried fields automatically vary based on which fields are used in the Designer. This enables you to directly report your Salesforce live data in the Designer as well as in the preview - analyzing your data was never easier.




Author: Jochen Bartlau
Head of Development List & Label

Jochen Bartlau leads the development at combit as Managing Director. He's a Microsoft .NET enthusiast driving innovation & agile project management. The mobile devices geek who used to be a physicist in his first life loves to spend his spare time with his family.


  

RSS
combit Development BlogRSS
What’s this blog for?
A place to share updates about the ongoing development of our products. General musings on the software industry included.
Archive
March 2021 (1)
February 2021 (2)
January 2021 (1)
December 2020 (2)
November 2020 (1)
October 2020 (2)
September 2020 (1)
August 2020 (2)
July 2020 (1)
June 2020 (1)
May 2020 (2)
April 2020 (2)
March 2020 (2)
February 2020 (1)
January 2020 (1)
December 2019 (1)
November 2019 (2)
October 2019 (2)
September 2019 (2)
August 2019 (2)
July 2019 (2)
June 2019 (2)
May 2019 (1)
April 2019 (0)
April 2019 (1)
March 2019 (1)
February 2019 (1)
January 2019 (1)
December 2018 (1)
November 2018 (2)
October 2018 (4)
September 2018 (4)
August 2018 (2)
July 2018 (2)
June 2018 (2)
May 2018 (1)
April 2018 (1)
March 2018 (1)
February 2018 (2)
January 2018 (1)
December 2017 (1)
November 2017 (2)
October 2017 (3)
September 2017 (3)
August 2017 (2)
July 2017 (2)
June 2017 (1)
May 2017 (2)
April 2017 (1)
March 2017 (1)
February 2017 (1)
January 2017 (2)
December 2016 (1)
November 2016 (1)
October 2016 (4)
September 2016 (5)
August 2016 (2)
July 2016 (2)
June 2016 (3)
May 2016 (2)
April 2016 (3)
March 2016 (3)
February 2016 (1)
January 2016 (2)
December 2015 (2)
November 2015 (1)
October 2015 (4)
September 2015 (5)
August 2015 (2)
July 2015 (2)
June 2015 (2)
May 2015 (1)
April 2015 (2)
March 2015 (1)
February 2015 (1)
January 2015 (1)
December 2014 (2)
November 2014 (1)
October 2014 (1)
September 2014 (2)
August 2014 (1)
July 2014 (2)
June 2014 (1)
May 2014 (2)
April 2014 (1)
March 2014 (2)
+1 800 256 3608 (toll-free North America only)