VOOZH about

URL: https://www.cdata.com/kb/tech/dynamicscrm-odbc-powercenter-workflow.rst

⇱ Extract, Transform, and Load Dynamics CRM Data in Informatica PowerCenter


Extract, Transform, and Load Dynamics CRM Data in Informatica PowerCenter

πŸ‘ Jerod Johnson
Jerod Johnson
Director, Technology Evangelism
Create a simple Workflow for Dynamics CRM data in Informatica PowerCenter.

Informatica provides a powerful, elegant means of transporting and transforming your data. By utilizing the CData ODBC Driver for Dynamics CRM, 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 create a simple Workflow in Informatica PowerCenter to extract Dynamics CRM data and load it into a flat file.

About Dynamics CRM Data Integration

CData simplifies access and integration of live Microsoft Dynamics CRM data. Our customers leverage CData connectivity to:

  • Read and write data in the Dynamics CRM 2011+ Services and Dynamics CRM Online.
  • Extend the native features of Dynamics CRM with customizable caching and intelligent query aggregation and separation.
  • Authenticate securely with Dynamics CRM in a variety of ways, including Azure Active Directory, Azure Managed Service Identity credentials, and Azure Service Principal using either a client secret or a certificate.

CData customers use our Dynamics CRM connectivity solutions for a variety of reasons, whether they're looking to replicate their data into a data warehouse (alongside other data sources) or analyze live Dynamics CRMa data from their preferred data tools inside the Microsoft ecosystem (Power BI, Excel, etc.) or with external tools (Tableau, Looker, etc.).


Getting Started


Add Dynamics CRM as an ODBC Data Source

If you have not already, install the driver on the PowerCenter server and client machines. On both machines, specify the connection properties in an ODBC DSN (data source name). This is the last step of the driver installation. You can use the Microsoft ODBC Data Source Administrator to create and configure ODBC DSNs.

The connection string options meet the authentication and connection requirements of different Dynamics CRM instances. To connect to your instance, set the User and Password properties, under the Authentication section, to valid Dynamics CRM user credentials and set the Url to a valid Dynamics CRM server organization root. Additionally, set the CRMVersion property to 'CRM2011+' or 'CRMOnline'. IFD configurations are supported as well; set InternetFacingDeployment to true.

Additionally, you can provide the security token service (STS) or AD FS endpoint in the STSURL property. This value can be retrieved with the GetSTSUrl stored procedure. Office 365 users can connect to the default STS URL by simply setting CRMVersion.

Create an ETL Workflow in PowerCenter

Follow the steps below to create a workflow in PowerCenter to pull Dynamics CRM data and push it into a flat file.

Create a Source Using the ODBC Driver

  1. In PowerCenter Workflow Manager, add a new ODBC relational connection by going to Connections -> Relational, and in the first window select the ODBC type and click New. πŸ‘ Create a Relational Connection to the DSN. (Salesforce is shown.)
  2. In the Relational Connection Editor, set the name of the newly created connection and set the User Name and Password based on the credentials utilized to connect to your Repository. Under the Connection String input your System DSN, which by default is called 'CData DynamicsCRM Sys'. πŸ‘ Relational Connection Editor. (Salesforce is shown.)
  3. In PowerCenter Designer, connect to your repository and open your folder. If you do not already have a folder created, you will need to manually create a folder for your repository. To create a folder, open Informatica PowerCenter Repository Manager, connect to your Repository Service and go to Folder -> Create to create a new folder. πŸ‘ Create a new Folder.
  4. Select the Source Analyzer, click the sources menu, and select Import from Database... πŸ‘ Import from Database.
  5. In the drop-down menu for ODBC data source, select the DSN you previously configured (CData DynamicsCRM Sys).
  6. Click connect and select the tables and views to include.
  7. Click OK. πŸ‘ Select DSN and Tables/Views to Import. (Salesforce is shown.)

Create a Flat File Target Based on the Source

  1. Select the Target Designer and drag and drop the previously created source onto the workspace. Using the existing source copies the columns into the target.
  2. Right-click the new target, click edit, and change the database type to flat file. πŸ‘ Create a Flat File target for the Workflow. (Salesforce is shown.)

Create a Mapping to Between Dynamics CRM Data and a Flat File

  1. Click on the Mapping Designer.
  2. Drag the source and target to the workspace (name the new mapping, if prompted).
  3. Right-click on the workspace and select Autolink by Name.
  4. Drag the columns from the source qualifier to the target definition. πŸ‘ Link columns from source to target. (Salesforce is shown.)
  5. Save the folder (Ctrl + S).

Create Workflow Based on the Mapping

With the source, target, and mapping created and saved, you are now ready to create the workflow.

  1. Right-click the mapping and select generate workflow to open the Workflow Generation wizard.
  2. Create a workflow with a non-reusable session.
  3. Ensure that you have properly configured the connection object and set the prefixes. If you have not already done so, you will need to create an Integration Service. To create an Integration Service, open your Administrator site, and under Domain, create a new PowerCenter Integration Service. Under the PowerCenter Repository Service, select the Repository you are referring to, and as Username and Password, use your Administrator login information. πŸ‘ Created Integration Service. (Salesforce is shown.)
  4. Configure the Connection as needed.
  5. Review the Workflow and click Finish. πŸ‘ Review the Workflow. (Salesforce is shown.)

With a workflow created, you can open the PowerCenter Workflow Manager to access and start the workflow, quickly transferring Dynamics CRM data into a flat file. With the CData ODBC Driver for Dynamics CRM, you can configure sources and targets in PowerCenter to integrate Dynamics CRM data into any of the elegant and powerful features in Informatica PowerCenter.

Ready to get started?

Download a free trial of the Dynamics CRM ODBC Driver to get started:

 Download Now

Learn more:

πŸ‘ Dynamics CRM Icon
Dynamics CRM ODBC Driver

The Dynamics CRM ODBC Driver is a powerful tool that allows you to connect with live Dynamics CRM (OnPremise & Online) account data, directly from any applications that support ODBC connectivity.

Access Dynamics CRM data like you would a database - read, write, and update Leads, Contacts, Opportunities, Accounts, etc. through a standard ODBC Driver interface.