WriteTextDocument
Generate an OpenDocument Text .odt file by injecting user-input JSON data
Last updated
Was this helpful?
Generate an OpenDocument Text .odt file by injecting user-input JSON data
Task version: 1.0.0
Required Frends version: 5.7+
Required .NET version: 8.0
Compatible Agents: Crossplatform
Payload : String
JSON data input to be written into the .odt document.
Default: -
Example: [ { "Name": "John" }, { "Name": "Jane" } ]
FilePath : String
Full path of the destination for the new .odt file.
Default: -
Example: C:\temp\foo.odt
ActionOnExistingFile : ActionOnExistingFile
Defines how the file write should work if a file with the new name already exists.
Possible values:
Overwrite: Defines how the file write should work if a file with the new name already exists.
Throw: Defines how the file write should work if a file with the new name already exists.
Default: 1
Example: ActionOnExistingFile.Throw
ThrowErrorOnFailure : Boolean
Whether to throw an error on failure.
Default: True
Example: true
ErrorMessageOnFailure : String
Overrides the error message on failure.
Default: -
Example: Custom error message
Success : Boolean
Indicates if the task completed successfully.
Example: true
FilePath : String
Full path to the newly created .odt file.
Example: c:\temp\foo.odt
Error : Error
Error that occurred during task execution.
Example: object { string Message, Exception AdditionalInfo }
Changelog for Task Frends.Odf.WriteTextDocument.
Initial implementation
Last updated
Was this helpful?
Was this helpful?

