Skip to main content

Building Pipelines with Microsoft Dynamics 365 Writer

In Striim, an app (application) holds the details of the data pipeline—source & target details and other logical components organized into one or more flows. Developing an application also means building the data pipeline.

Applications may be created:

Pre-requisite - The initial setup and configuration you do in Microsoft Dynamics 365 applications are described in the Initial Setup section.

Create a Dynamics 365 Writer application using the Flow Designer

This procedure outlines how to use Striim’s Flow Designer to build and configure data pipelines. Flow Designer enables you to visually create applications using templates with minimal or no coding.

  1. Go to the Apps page in the Striim UI and click Start from scratch .

  2. Provide a name and namespace for the application. The namespace helps organize related apps.

  3. In the component section, expand Targets, and enter a keyword such as Dynamics 365 Writer in the search field to filter available targets.

  4. In the properties panel, provide the input stream and properties for the writer.

    ms-dynamics-365-writer.png
  5. Click Save to complete the properties configuration.

  6. You can drag and drop processors, enrichers, and sources to complete your pipeline logic.

  7. Once done, deploy and start the application to begin data flow.

Create a Dynamics 365 Writer application using TQL

The following sample TQL uses Striim’s Dynamics 365 Writer to write into the Sales Edition.

      CREATE TARGET TargetName USING Global.MicrosoftDynamics365Writer (
       ClientSecret: '<ClientSecret>',
       RefreshToken: '<RefreshToken>',
       ApplicationErrorCountThreshold: 0,
       TenantId: 'TenantId',
       AdfsServer: '',
       ClientId: 'ClientId',
       connectionProfileName: '',
       ConnectionTimeout: '300',
       Edition: 'Sales',
       useConnectionProfile: false,
       OrganizationUrl: 'URL',
       Tables: 'source1.%,%',
       Mode: 'MERGE',
       BatchPolicy: 'eventCount:1000, Interval:60' )
      INPUT FROM DataStream;