TX Text Control .NET Server

ReportDataSourceConfigFile Property

Property|Introduced in 20.0
Namespace
TXTextControl.DocumentServer
Package
TXTextControl.TextControl.Core.SDK as TXDocumentServer.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXDocumentServer.dll

Description

Gets or sets the file path of a Report Data Source Configuration file (*.rdsc) which has been created with TX Text Control Words.

Syntax

public string ReportDataSourceConfigFile { get; set; }

Examples

The following example uses MailMerge.ReportDataSourceConfigFile to configure report data source config file as part of the mail merge workflow. The configured value is checked before the workflow continues.

mailMerge.ReportDataSourceConfigFile = "document.docx";
if (!string.IsNullOrWhiteSpace(mailMerge.ReportDataSourceConfigFile))
{
    Console.WriteLine($"Report Data Source Config File: {mailMerge.ReportDataSourceConfigFile}");
}