Discover how a bimodal integration strategy can address the major data management challenges facing your organization today.
Get the Report →How to update Cvent from Excel
This article explains how to transfer data from Excel to Cvent using the Excel Add-In for Cvent.
The CData Excel Add-In for Cvent enables you to edit and save Cvent data directly from Excel. This article explains how to transfer data from Excel to Cvent. This technique is useful if you want to work on Cvent data in Excel and update changes, or if you have a whole spreadsheet you want to import into Cvent. In this example, you will use the Events table; however, the same process will work for any table that can be retrieved by the CData Excel Add-In.
Establish a Connection
If you have not already done so, create a new Cvent connection by clicking From Cvent on the ribbon.
Before you can authenticate to Cvent, you must create a workspace and an OAuth application.
Creating a Workspace
To create a workspace:
- Sign into Cvent and navigate to App Switcher (the blue button in the upper right corner of the page) >> Admin.
- In the Admin menu, navigate to Integrations >> REST API.
- A new tab launches for Developer Management. Click on Manage API Access in the new tab.
- 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:read event/attendees:write event/contacts:read event/contacts:write event/custom-fields:read event/custom-fields:write event/events:read event/events:write event/sessions:delete event/sessions:read event/sessions:write event/speakers:delete event/speakers:read event/speakers:write budget/budget-items:read budget/budget-items:write exhibitor/exhibitors:read exhibitor/exhibitors:write survey/surveys:read survey/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.
Retrieve Data from Cvent
To insert data into Cvent, you will first need to retrieve data from the Cvent table you want to add to. This links the Excel spreadsheet to the Cvent table selected: After you retrieve data, any changes you make to the data are highlighted in red.
- Click the From Cvent button on the CData ribbon. The Data Selection wizard is displayed.
- In the Table or View menu, select the Events table.
- In the Maximum Rows menu, select the number of rows you want to retrieve. If you want to insert rows, you need to retrieve only one row. The Query box will then display the SQL query that corresponds to your request.
- In the Sheet Name box, enter the name for the sheet that will be populated. By default the add-in will create a new sheet with the name of the table.
Insert Rows to Cvent
After retrieving data, you can add data from an existing spreadsheet in Excel.
- In a cell after the last row, enter a formula referencing the corresponding cell from the other spreadsheet; for example, =MyEventsSheetInExcel!A1.
- After using a formula to reference the cells you want to add to Cvent, select the cells that you are inserting data into and drag the formula down as far as needed. The referenced values you want to add will be displayed on the Events sheet.
- Highlight the rows you want to insert and click the Update Rows button.
As each row is inserted, the Id value will appear in the Id column and the row's text will change to black, indicating that the record has been inserted.