Salesforce Connector for SSRS How to Get Profiles
Introduction
In this article we will delve deeper into Salesforce and SSRS integration, and will learn how to get profiles. We are continuing from where we left off. By this time, you must have installed ODBC PowerPack, created ODBC Data Source, and configured authentication settings in your Salesforce account .
So, let's not waste time and begin.
Use Query Builder to generate SQL query
-
The first thing you have to do is open Query Builder:
ZappySys API Driver - SalesforceAmazon Ads Connector can be used to get Amazon advertisements using Amazon Advertisements API, download various advertisement-related reports.SalesforceDSN
-
Then simply select the Get Profiles endpoint (action).
-
Continue by configuring the Required parameters. You can also set optional parameters too.
-
Move on by hitting Preview Data button to preview the results.
-
If you see the results you need, simply copy the generated query:
-
That's it! You can use this query in SSRS.
Let's not stop here and explore SQL query examples, including how to use them in Stored Procedures and Views (virtual tables) in the next steps.
SQL query examples
Use these SQL queries in your SSRS data source:
How to Get Profiles
SELECT * FROM Profiles
get_profiles endpoint belongs to
Profiles
table(s), and can therefore be used via those table(s).
Get Profiles in SSRS
-
Open Visual Studio and create a new SSRS project.
-
Then add a new Shared Data Source (you can create a non-shared data source inside report too):
-
Continue with creating the Shared Data Source. Select Microsoft SQL Server as Type and hit Build button to proceed further:
-
Once a window opens, configure it similarly. Configure "SalesforceDSN" as database name. Finally, hit Test Connection and OK:
SalesforceDSN
-
Another window opens, and it should look similarly to this one below which ends the creation of a Data Source:
DataSource=localhost,5000;Initial Catalog=SalesforceDSN
-
Now it's time to create a Dataset. If you don't have a report created, in one of the wizard's steps it will look like this:
SELECT * FROM Orders
-
Finally, once you complete the report, similar results will show up:
More actions supported by Salesforce Connector
Learn how to perform other actions directly in SSRS with these how-to guides:
- Get Beta Report
- Get Report
- Test Connection
- Make Generic API Request
- Make Generic API Request (Bulk Write)