Skip to content

Flow documentation · legacy product

FileCon.FileDir ​

Declaration ​

property FileDir: string

Example ​

pascal
procedure OnMapEvent(var Value:Variant);
begin
  Value := Dest.FileCon.FileDir; //The directory that the file will be saved to
end;

Description ​

Returns the file directory pattern used to set the folder where the file is saved during writing.

When the Dest data definition is a File Definition you can use this property to modify the folder the output file is saved to after mapping.

The FileDir property is a pattern therefore you can set it directly to the folder you desire, or you can include Tags within the name. Tags will be resolved when the file is being saved. FileDir includes a trailing backslash.