Text File Reader

Overview

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
Anonymous
Parents
  • It is planned a new version for this plugin?
    The heath check report is saying that is using deprecated API's.
    In a future this can be a problem. 

    "Text File Utilities (com.appiancorp.plugins.filereader) references deprecated Appian APIs
    [deprecated] com.appiancorp.suiteapi.content.ContentService.getInternalFilename(java.lang.Long)
    [deprecated] com.appiancorp.suiteapi.knowledge.Document.getInternalFilename()"

  • In the 23.2 release, Appian introduced modernized file management APIs that offer a cleaner abstraction layer for easier file handling within Appian. We simultaneously announced that we are deprecating some older APIs. We are aware of the utilization of deprecated APIs within some AppMarket plug-ins that work with documents. As part of our commitment to ensuring compatibility, we anticipate all Appian-authored plug-ins currently using deprecated APIs to be updated for API compatibility by the 24.1 General Availability (GA) release. We also proactively work with Partner plug-in authors to ensure all AppMarket plug-ins have optimal performance and functionality. 

    If you have any questions or require AppMarket assistance, please don't hesitate to reach out by sending an email to appmarket@appian.com.

  • Now that Appian 24.1 is out, is updating this plugin still on the roadmap?

Comment Children
No Data