ecl-logo Documentation

ExportReport

ExportReport[filePath,reportContents]report

returns a report containing the specified reportContents.

Details

    Input
    Output
    Method Options
    Messages
  • FileExists The file `1` already exists. Please choose a different file path.

Examples

Basic Examples  (3)

Upload a report containing any desired data:

You can specify different styles for each content or group of contents. If style is not specified, the style will default to 'Text' for string and to 'Output' for everything else:

Use 'Defer' to avoid evaluating code:

Options  (5)

SaveLocally  (3)

Use the SaveLocally option to indicate that the report should be saved to your computer:

If a full file path is not given, the file will be saved in $TemporaryDirectory:

If a file path is given but the directory does not exist, the directory will be created:

SaveToCloud  (1)

Use the SaveToCloud option to indicate that the report should be saved as a cloud file:

SaveToNotebook  (1)

Use the SaveToNotebook option to indicate that the report should open as a new page in the current notebook:

Messages  (1)

FileExists  (1)

If a file already exists by the same name, it will not be overwritten: