Skip to content

d6c551ed 4350 70a2 3184 926ff1f8f9fc

Fernando Garcia edited this page May 8, 2018 · 1 revision

OutputModel.Path Property

Additional header content

Gets or sets the output file path. To specify a relative path use the character (~).

Namespace: iTin.Export.Model
Assembly: iTin.Export.Core (in iTin.Export.Core.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public string Path { get; set; }

VB

Public Property Path As String
	Get
	Set

Property Value

Type: String
The output file path. To specify a relative path use the character (~).

Exceptions

 

Exception Condition
ArgumentNullException If value is null.
InvalidPathNameException If value is an invalid path name.

Remarks

TEE Object Element Usage

<Output ...>
  <Path>string</File>
  ...
</Output>

Compatibility table with native writers.

Comma-Separated Values
CsvWriter
Tab-Separated Values
TsvWriter
SQL Script
SqlScriptWriter
XML Spreadsheet 2003
Spreadsheet2003TabularWriter
X X X X
A X value indicates that the writer supports this element.

Examples

The following example show how to use this element. XML

<?xml version="1.0" encoding="utf-8"?>

<Exports xmlns="http://schemas.iTin.com/export/engine/2013/configuration">
  <Export Name="Test" Current="Yes">
    <Description>Sample Export</Description>
    <Table Name="R740D01"
          AutoFilter="Yes"
          AutoFitColumns="Yes"
          Alias="Table alias">

      <Location>
        <ByCoordenates Coordenates="1 3"/>
      </Location>

      <Exporter>
        <Writer Name="Spreadsheet2003TabularWriter"/>
        <Behaviors>
          <Download/>
          <TransformFile Save="Yes"/>
        </Behaviors>
      </Exporter>

      <Output>
        <File>SampleExport</File>
        <Path>~\Samples\Output\Writers</Path>
      </Output>
      ...
      ...
    </Table>
  </Export>
</Exports>

See Also

Reference

OutputModel Class
iTin.Export.Model Namespace

Clone this wiki locally