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:
Graphically – using the Flow Designer
Coded – using the Tungsten Query Language (TQL), a SQL-like language that you can extend with Java
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.
Go to the Apps page in the Striim UI and click Start from scratch .
Provide a name and namespace for the application. The namespace helps organize related apps.
In the component section, expand Targets, and enter a keyword such as Dynamics 365 Writer in the search field to filter available targets.
In the properties panel, provide the input stream and properties for the writer.
Click Save to complete the properties configuration.
You can drag and drop processors, enrichers, and sources to complete your pipeline logic.
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;