<ImportNamedDataSource OverwriteIfExists=true|false>[Full Path to .btds file]</ImportNamedDataSource>
The supported attributes include the following.
|
Attribute
|
Required/Optional
|
Description
|
|
OverwriteIfExist
|
Optional
|
Determines whether to overwrite an existing file. By default, this is set to false.
|
This example demonstrates the <ImportNamedDataSource> tag importing a .btds file. If a named data source with the same name already exists, it is not overwritten; other named data sources with different names are still imported.
<?xml version="1.0" encoding="utf-8"?>
<XMLScript Version="2.0" Trusted="true">
<Command>
<FormatSetup>
<Format SaveAtEndOfJob="true">full path\Document1.btw</Format>
<ImportNamedDataSource OverwriteIfExists="false">full path\PredefinedDataSource.btds</ImportNamedDataSource>
</FormatSetup>
</Command>
</XMLScript>
|
|
Create .btds files by exporting named data sources in BarTender.
|