![]() |
VOOZH | about |
Informatica provides a powerful, elegant means of transporting and transforming your data. By utilizing the CData JDBC Driver for Excel, you are gaining access to a driver based on industry-proven standards that integrates seamlessly with Informatica's powerful data transportation and manipulation features. This tutorial shows how to transfer and browse Excel data in Informatica PowerCenter.
To deploy the driver to the Informatica PowerCenter server, copy the CData JAR and .lic file, located in the lib subfolder in the installation directory, to the following folder: Informatica-installation-directory\services\shared\jars\thirdparty.
To work with Excel data in the Developer tool, you will need to copy the CData JAR and .lic file, located in the lib subfolder in the installation directory, into the following folders:
Follow the steps below to connect from Informatica Developer:
cdata.jdbc.excel.ExcelDriver
CData Drivers let you work with Excel files stored locally and stored in cloud storage services like Box, Amazon S3, Google Drive, or SharePoint, right where they are.
Set the URI property to local folder path.
To connect to Excel file(s) within Amazon S3, set the URI property to the URI of the Bucket and Folder where the intended Excel files exist. In addition, at least set these properties:
To connect to Excel file(s) within Box, set the URI property to the URI of the folder that includes the intended Excel file(s). Use the OAuth authentication method to connect to Box.
To connect to Excel file(s) within Dropbox, set the URI proprerty to the URI of the folder that includes the intended Excel file(s). Use the OAuth authentication method to connect to Dropbox. Either User Account or Service Account can be used to authenticate.
To connect to Excel file(s) within SharePoint with SOAP Schema, set the URI proprerty to the URI of the document library that includes the intended Excel file. Set User, Password, and StorageBaseURL.
To connect to Excel file(s) within SharePoint with REST Schema, set the URI proprerty to the URI of the document library that includes the intended Excel file. StorageBaseURL is optional. If not set, the driver will use the root drive. OAuth is used to authenticate.
To connect to Excel file(s) within Google Drive, set the URI property to the URI of the folder that includes the intended Excel file(s). Use the OAuth authentication method to connect and set InitiateOAuth to GETANDREFRESH.
For assistance in constructing the JDBC URL, use the connection string designer built into the Excel JDBC Driver. Either double-click the JAR file or execute the jar file from the command-line.
java -jar cdata.jdbc.excel.jar
Fill in the connection properties and copy the connection string to the clipboard.
๐ Using the built-in connection string designer to generate a JDBC URL (Salesforce is shown.)A typical connection string is below:
jdbc:excel:URI='C:/MyExcelWorkbooks/SampleWorkbook.xlsx';
After you have added the driver JAR to the classpath and created a JDBC connection, you can now access Excel entities in Informatica. Follow the steps below to connect to Excel and browse Excel tables:
You can now browse Excel tables in the Data Viewer: Right-click the node for the table and then click Open. On the Data Viewer view, click Run.
๐ Table data and metadata in the Data Viewer. (Salesforce is shown.)Follow the steps below to add Excel tables to your project:
Follow the steps below to add the Excel source to a mapping:
Follow the steps below to map Excel columns to a flat file:
To transfer Excel data, right-click in the workspace and then click Run Mapping.
๐ The completed mapping. (Salesforce is shown.)Download a free trial of the Excel Driver to get started:
Download NowLearn more:
๐ Microsoft Excel IconEasily connect Java/J2EE applications with real-time data from Excel spreadsheets. Use Excel to manage the data that powers your applications.