Export Data from SQL Server to Cvent through SSIS



Easily push SQL Server data to Cvent using the CData SSIS Tasks for Cvent.

SQL Server databases are commonly used to store enterprise records. It is often necessary to move this data to other locations. The CData SSIS Task for Cvent allows you to easily transfer Cvent data. In this article you will export data from SQL Server to Cvent.

Add Source and Destination Components

To get started, add a new ADO.NET Source control and a new Cvent Destination control to the data flow task.

Configure the ADO.NET Source

Follow the steps below to specify properties required to connect to the SQL Server instance.

  1. Open the ADO.NET Source and add a new connection. Enter your server and database information here.
  2. In the Data access mode menu, select "Table or view" and select the table or view to export into Cvent.
  3. Close the ADO NET Source wizard and connect it to the destination component.

Create a New Connection Manager for Cvent

Follow the steps below to set required connection properties in the Connection Manager.

  1. Create a new connection manager: In the Connection Manager window, right-click and then click New Connection. The Add SSIS Connection Manager dialog is displayed.
  2. Select CData Cvent Connection Manager in the menu.
  3. Configure the connection properties.

    Before you can authenticate to Cvent, you must create a workspace and an OAuth application.

    Creating a Workspace

    To create a workspace:

    1. Sign into Cvent and navigate to App Switcher (the blue button in the upper right corner of the page) >> Admin.
    2. In the Admin menu, navigate to Integrations >> REST API.
    3. A new tab launches for Developer Management. Click on Manage API Access in the new tab.
    4. Create a Workspace and name it. Select the scopes you would like your developers to have access to. Scopes control what data domains the developer can access.
      • Choose All to allow developers to choose any scope, and any future scopes added to the REST API.
      • Choose Custom to limit the scopes developers can choose for their OAuth apps to selected scopes. To access all tables exposed by the driver, you need to set the following scopes:
        event/attendees:readevent/attendees:writeevent/contacts:read
        event/contacts:writeevent/custom-fields:readevent/custom-fields:write
        event/events:readevent/events:writeevent/sessions:delete
        event/sessions:readevent/sessions:writeevent/speakers:delete
        event/speakers:readevent/speakers:writebudget/budget-items:read
        budget/budget-items:writeexhibitor/exhibitors:readexhibitor/exhibitors:write
        survey/surveys:readsurvey/surveys:write

    Creating an OAuth Application

    After you have set up a Workspace and invited them, developers can sign up and create a custom OAuth app. See the Creating a Custom OAuth Application section in the Help documentation for more information.

    Connecting to Cvent

    After creating an OAuth application, set the following connection properties to connect to Cvent:

    • InitiateOAuth: GETANDREFRESH. Used to automatically get and refresh the OAuthAccessToken.
    • OAuthClientId: The Client ID associated with the OAuth application. You can find this on the Applications page in the Cvent Developer Portal.
    • OAuthClientSecret: The Client secret associated with the OAuth application. You can find this on the Applications page in the Cvent Developer Portal.

Configure the Cvent Destination

In the destination component Connection Manager, define mappings from the SQL Server source table into the Cvent destination table and the action you want to perform on the Cvent data. In this article, you will insert Events entities to Cvent.

  1. Double-click the Cvent destination to open the destination component editor.
  2. In the Connection Managers tab, select the connection manager previously created.
  3. In the Use a Table, menu, select Events. In the Action menu, select Insert.
  4. On the Column Mappings tab, configure the mappings from the input columns to the destination columns.

Run the Project

You can now run the project. After the SSIS Task has finished executing, data from your SQL table will be exported to the chosen table.

Ready to get started?

Download a free trial of the Cvent SSIS Component to get started:

 Download Now

Learn more:

Cvent Icon Cvent SSIS Components

Powerful SSIS Source & Destination Components that allows you to easily connect SQL Server with Cvent through SSIS Workflows.

Use the Cvent Data Flow Components to synchronize with Cvent 0, and more. Perfect for data synchronization, local back-ups, workflow automation, and more!