Text File Reader

The Plug-in provides a function, readTextFromFile, which reads data from a text file (any extension, but must be encoded as text) into a string, with an option to preserve line breaks.  It also contains a smart service, Append Text to File, that can append text to the end of a file.

Inputs are:

  • readTextFromFile Function
    • txtFile (Document) - The document to read
    • preserveLineBreaks (Boolean) - The option to preserve line breaks
  • Append Text to File Smart Service
    • txtFile (Document) - The document to which text will be added
    • textToAppend (String) - Text to be appended to end of file