ODF

Frends.Odf.WriteSpreadsheet / 1.1.0

Summary

Generates an OpenDocument spreadsheet from JSON, one row per object, optionally deriving a header row from the property names.

Typical use — tabular output for recipients on open-source office suites

Details

Frends version
5.7 and newer
Agent
Crossplatform
Target framework
net8.0

Essential parameters.

Name Type Default Example Description
Payload String [ { "Name": "John", "Age": 40 }, { "Name": "Jane", "Age": 30 } ]

JSON data array to be written into the file.

FilePath String C:\temp\foo.ods

Full path of the destination for the new .ods file.

ActionOnExistingFile ActionOnExistingFile Throw ActionOnExistingFile.Throw

Defines how the file write should work if a file with the new name already exists.

Possible values:

  • Overwrite: Replaces the existing file.

  • Throw: Throws an error if the file already exists.

An unhandled error has occurred. Reload 🗙