Skip to content

Export Distribution

Exports a distribution to a text file. The text file is saved on the server.

Permissions

Command KindNeeded User Kind
ReadAdmin, Sys

Parameters

NameTypeDescriptionRequiredDefaultValues
DimensionstringName of the dimension ([Dimension]).yes
DistributionstringName of the distribution ([Distribution]). A distribution contains items of a dimension. Each item has a factor. The factor is used to distribute values over the items.yes
FilestringName/path of the export file. The file is exported on the server.yes
AttributebooleanIf 'True' attributes are exported. The default value is 'True'.notrue
BracketsbooleanIf 'True' the dimension items are exported with brackets ([Item]). The default value is 'True'.notrue
Caption1booleanIf 'True' caption 1 is exported. The default value is 'True'.notrue
Caption2booleanIf 'True' caption 2 is exported. The default value is 'True'.notrue
Caption3booleanIf 'True' caption 3 is exported. The default value is 'True'.notrue
Caption4booleanIf 'True' caption 4 is exported. The default value is 'True'.notrue
Caption5booleanIf 'True' caption 5 is exported. The default value is 'True'.notrue
Caption6booleanIf 'True' caption 6 is exported. The default value is 'True'.notrue
Caption7booleanIf 'True' caption 7 is exported. The default value is 'True'.notrue
Caption8booleanIf 'True' caption 8 is exported. The default value is 'True'.notrue
Caption9booleanIf 'True' caption 9 is exported. The default value is 'True'.notrue
Caption10booleanIf 'True' caption 10 is exported. The default value is 'True'.notrue
CodingstringCoding of the file: Ansi, Ascii, BigEndianUnicode, Unicode (Utf16/Utf-16), Utf7 (Utf-7) or Utf8 (Utf-8). The default value is Utf8.noUtf8Ansi, Ascii, BigEndianUnicode, Unicode, Utf7, Utf8
DecimalSeparatorstringDecimal separator (long and short): Comma (,) or Point (.). The default value is Point (.)noPointComma, Point
FactorbooleanIf 'True' the factor is exported. The default value is 'True'.notrue
FieldSeparatorstringField separator (long and short): Circumflex (^), Comma (,), Semicolon (😉, Tabulator (Tab) or Pipe (|).noTabulatorCircumflex, Comma, Semicolon, Tabulator, Pipe
HeaderbooleanIf 'True' the header is exported. The default value is 'True'.notrue
MaxRecordsintegerMaximum number of records to be exported. The default value is 500000.no500000
QuotedbooleanIf 'True' the text fields are quoted ("Text"). The default value is 'False'.nofalse

Result

No fields

Code

text
EXPORT DISTRIBUTION
DIMENSION=[string, Needed]
DISTRIBUTION=[string, Needed]
FILE=[string, Needed]
ATTRIBUTE=[boolean, default=true]
BRACKETS=[boolean, default=true]
CAPTION1=[boolean, default=true]
CAPTION2=[boolean, default=true]
CAPTION3=[boolean, default=true]
CAPTION4=[boolean, default=true]
CAPTION5=[boolean, default=true]
CAPTION6=[boolean, default=true]
CAPTION7=[boolean, default=true]
CAPTION8=[boolean, default=true]
CAPTION9=[boolean, default=true]
CAPTION10=[boolean, default=true]
CODING=[string, default=Utf8, values=[Ansi,Ascii,BigEndianUnicode,Unicode,Utf7,Utf8]]
DECIMALSEPARATOR=[string, default=Point, values=[Comma,Point]]
FACTOR=[boolean, default=true]
FIELDSEPARATOR=[string, default=Tabulator, values=[Circumflex,Comma,Semicolon,Tabulator,Pipe]]
HEADER=[boolean, default=true]
MAXRECORDS=[integer, default=500000]
QUOTED=[boolean, default=false]