![]() |
VOOZH | about |
This article illustrates using the ConstantContact ADO.NET Data Provider within a SQL Server SSIS workflow for the direct transfer of ConstantContact data to a Microsoft SQL Server database. It's worth noting that the identical process detailed below is applicable to any CData ADO.NET Data Providers, enabling the direct connection of SQL Server with remote data through SSIS.
In the Data Flow screen, add an ADO.NET Source and an OLE DB Destination from the toolbox.
👁 The components used in the data task in this example.In the connection manager, enter the connection details for ConstantContact data.
Start by setting the Profile connection property to the location of the ConstantContact Profile on disk (e.g. C:\profiles\ConstantContact.apip). Next, set the ProfileSettings connection property to the connection string for Profile (see below).
ConstantContact uses OAuth-based authentication.
First, register an OAuth application with ConstantContact. You can do so from the ConstantContact API Guide (https://v3.developer.constantcontact.com/api_guide/index.html), under "MyApplications" > "New Application". Your Oauth application will be assigned a client id (API Key) and you can generate a client secret (Secret).
After setting the following connection properties, you are ready to connect:
Open the DataReader editor and set the following information:
SELECT Id, EmailAddress FROM Contacts WHERE CompanyName = 'Acme, Inc.'
Open the OLE DB Destination and enter the following information in the Destination Component Editor.
Configure any properties you wish on the Mappings screen.
👁 Input and destination columns in the OLE DB Destination Editor.Connect to live data from ConstantContact with the API Driver
Connect to ConstantContact