<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Text File Utilities</title><link>/b/appmarket/posts/text-file-reader</link><description>Overview 
 Append, read, or read lines with filters from a text file. 
 
 Key Features &amp;amp; Functionality 
 Smart Services: 
 
 appendTextToFile - Append text to a text Document 
 
 Functions 
 
 
 
 readTextFromFile - Reads data from a text Document (any</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Text File Utilities</title><link>https://community.appian.com/b/appmarket/posts/text-file-reader</link><pubDate>Tue, 13 Jan 2026 23:00:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bbc0ee00-4d9b-43bf-acb1-70c0bec475f9</guid><dc:creator>Appian AppMarket</dc:creator><slash:comments>0</slash:comments><description>&lt;div&gt;&lt;strong&gt;v3.2.0 Release Notes&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;New Functions readMatchingLinesInFile &amp;amp; readMatchingLinesInFileRegex &lt;/li&gt;&lt;li&gt;Minor performance improvements to readTextFromFile&lt;/li&gt;&lt;/ul&gt;&lt;img src="https://community.appian.com/aggbug?PostID=748&amp;AppID=50&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Text File Utilities</title><link>https://community.appian.com/b/appmarket/posts/text-file-reader</link><pubDate>Fri, 10 Oct 2025 16:04:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bbc0ee00-4d9b-43bf-acb1-70c0bec475f9</guid><dc:creator>balassubramani</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;For Append text to file smart service, would it be better to&amp;nbsp;append the&amp;nbsp;content without loading the entire content into a variable? The following seem to be better approach to avoid loading the data into memory.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BufferedReader reader = new BufferedReader(new InputStreamReader(documentInputStream));&lt;br /&gt;Approval a = cs.createVersion(doc, ContentConstants.UNIQUE_NONE);&lt;br /&gt;Long newVersionId = a.getId()[0];&lt;br /&gt;Document newDoc = cs.download(newVersionId, ContentConstants.VERSION_CURRENT, false)[0];&lt;/p&gt;
&lt;p&gt;try (DocumentOutputStream documentOutputStream = newDoc.getOutputStream();&lt;br /&gt; BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(documentOutputStream))) {&lt;/p&gt;
&lt;p&gt;String line;&lt;br /&gt; while ((line = reader.readLine()) != null) {&lt;br /&gt; writer.write(line);&lt;br /&gt; writer.newLine();&lt;br /&gt; }&lt;br /&gt; writer.write(textToAppend); // append directly, no memory buildup&lt;br /&gt;}&lt;/p&gt;&lt;img src="https://community.appian.com/aggbug?PostID=748&amp;AppID=50&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Text File Utilities</title><link>https://community.appian.com/b/appmarket/posts/text-file-reader</link><pubDate>Thu, 15 May 2025 22:00:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bbc0ee00-4d9b-43bf-acb1-70c0bec475f9</guid><dc:creator>Appian AppMarket</dc:creator><slash:comments>0</slash:comments><description>&lt;div&gt;&lt;strong&gt;v3.1.0 Release Notes&lt;/strong&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Updated deprecated API&amp;#39;s.&amp;nbsp;&lt;/li&gt;&lt;li&gt;Append Text to File smart service error fixed.&lt;/li&gt;&lt;/ul&gt;&lt;img src="https://community.appian.com/aggbug?PostID=748&amp;AppID=50&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Text File Utilities</title><link>https://community.appian.com/b/appmarket/posts/text-file-reader</link><pubDate>Thu, 20 Mar 2025 09:11:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bbc0ee00-4d9b-43bf-acb1-70c0bec475f9</guid><dc:creator>nicklasa8925</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hi,&lt;br /&gt;We are on prem and have the Appian version 24.1... this new version has a minimum requierement that the version is 24.2.&lt;/p&gt;
&lt;p&gt;is there any older version we could download of the Text File Utilities that supports the 24.1 version of Appian?&lt;/p&gt;&lt;img src="https://community.appian.com/aggbug?PostID=748&amp;AppID=50&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Text File Utilities</title><link>https://community.appian.com/b/appmarket/posts/text-file-reader</link><pubDate>Wed, 18 Dec 2024 23:00:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bbc0ee00-4d9b-43bf-acb1-70c0bec475f9</guid><dc:creator>Appian AppMarket</dc:creator><slash:comments>1</slash:comments><description>&lt;div&gt;&lt;strong&gt;v&lt;/strong&gt;&lt;strong&gt;3.0.2 Release Notes&lt;/strong&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Fixing issue with readtextfromfile reading from oldest version of document instead of current version&lt;/li&gt;&lt;/ul&gt;&lt;img src="https://community.appian.com/aggbug?PostID=748&amp;AppID=50&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Text File Utilities</title><link>https://community.appian.com/b/appmarket/posts/text-file-reader</link><pubDate>Fri, 22 Nov 2024 13:55:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bbc0ee00-4d9b-43bf-acb1-70c0bec475f9</guid><dc:creator>davidl0016</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;We&amp;#39;ve found&amp;nbsp;the following&amp;nbsp; bug in the ReadTextFileExpression function in version 3.0.1 of the plugin&amp;nbsp; related to the new file system api management.&amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Indeed,&amp;nbsp;instead of&amp;nbsp;using&amp;nbsp; cs.getDocumentInputStream(txtFile), you should&amp;nbsp;&lt;/p&gt;
&lt;p&gt;use&amp;nbsp;cs.getDocumentInputStream(cs.getVersionId(txtFileId, ContentConstants.VERSION_CURRENT)) otherwise the behaviour is very strange (mix of version and documentid content)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;img src="https://community.appian.com/aggbug?PostID=748&amp;AppID=50&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Text File Utilities</title><link>https://community.appian.com/b/appmarket/posts/text-file-reader</link><pubDate>Thu, 03 Oct 2024 22:00:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bbc0ee00-4d9b-43bf-acb1-70c0bec475f9</guid><dc:creator>Appian AppMarket</dc:creator><slash:comments>0</slash:comments><description>&lt;div&gt;&lt;strong&gt;v3.0.1 Release Notes&lt;/strong&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Adding in logging for errors in AppendTextToFile&lt;/li&gt;&lt;/ul&gt;&lt;img src="https://community.appian.com/aggbug?PostID=748&amp;AppID=50&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Text File Utilities</title><link>https://community.appian.com/b/appmarket/posts/text-file-reader</link><pubDate>Thu, 26 Sep 2024 14:35:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bbc0ee00-4d9b-43bf-acb1-70c0bec475f9</guid><dc:creator>normanc</dc:creator><slash:comments>2</slash:comments><description>&lt;p&gt;The&amp;nbsp;Smart Service &amp;quot;Append Text to File&amp;quot; has stopped working with release 3.0.0 !!&lt;/p&gt;&lt;img src="https://community.appian.com/aggbug?PostID=748&amp;AppID=50&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Text File Utilities</title><link>https://community.appian.com/b/appmarket/posts/text-file-reader</link><pubDate>Thu, 19 Sep 2024 22:00:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bbc0ee00-4d9b-43bf-acb1-70c0bec475f9</guid><dc:creator>Appian AppMarket</dc:creator><slash:comments>0</slash:comments><description>&lt;div&gt;&lt;strong&gt;v3.0.0 Release Notes&lt;/strong&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Updating deprecated ContentService apis&lt;/li&gt;&lt;/ul&gt;&lt;img src="https://community.appian.com/aggbug?PostID=748&amp;AppID=50&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Text File Utilities</title><link>https://community.appian.com/b/appmarket/posts/text-file-reader</link><pubDate>Wed, 16 Aug 2023 14:18:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bbc0ee00-4d9b-43bf-acb1-70c0bec475f9</guid><dc:creator>leonorf2782</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;It is planned a new version for this plugin?&lt;br /&gt;The heath check report is saying that is using deprecated API&amp;#39;s.&lt;br /&gt;In a future this can be a problem.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&amp;quot;Text File Utilities (com.appiancorp.plugins.filereader) references deprecated Appian APIs&lt;br /&gt; [deprecated] com.appiancorp.suiteapi.content.ContentService.getInternalFilename(java.lang.Long)&lt;br /&gt; [deprecated] com.appiancorp.suiteapi.knowledge.Document.getInternalFilename()&amp;quot;&lt;/p&gt;&lt;img src="https://community.appian.com/aggbug?PostID=748&amp;AppID=50&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Text File Utilities</title><link>https://community.appian.com/b/appmarket/posts/text-file-reader</link><pubDate>Thu, 20 Oct 2022 07:11:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bbc0ee00-4d9b-43bf-acb1-70c0bec475f9</guid><dc:creator>rohithchebolu</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;can anyone tell how should we implement the function&amp;nbsp;&lt;strong&gt;readTextFromFile in our inteface and what inputs should we provide for the parameters.&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;&lt;img src="https://community.appian.com/aggbug?PostID=748&amp;AppID=50&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Text File Utilities</title><link>https://community.appian.com/b/appmarket/posts/text-file-reader</link><pubDate>Fri, 17 Jun 2022 07:43:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bbc0ee00-4d9b-43bf-acb1-70c0bec475f9</guid><dc:creator>catalinp0003</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Is this still working on 21.x version or higher? We have a dependency inside one of Appian application that is on Appian Market- GUM (Groups &amp;amp; Users Management)&lt;/p&gt;&lt;img src="https://community.appian.com/aggbug?PostID=748&amp;AppID=50&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Text File Utilities</title><link>https://community.appian.com/b/appmarket/posts/text-file-reader</link><pubDate>Thu, 26 Mar 2020 10:17:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bbc0ee00-4d9b-43bf-acb1-70c0bec475f9</guid><dc:creator>daniel0004</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;I can&amp;acute;t get the &amp;quot;Append text to File&amp;quot; Smart Service to work.&lt;/p&gt;
&lt;p&gt;Is it working for anybody?&lt;/p&gt;&lt;img src="https://community.appian.com/aggbug?PostID=748&amp;AppID=50&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Text File Utilities</title><link>https://community.appian.com/b/appmarket/posts/text-file-reader</link><pubDate>Tue, 04 Feb 2020 23:26:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bbc0ee00-4d9b-43bf-acb1-70c0bec475f9</guid><dc:creator>justins797</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;&lt;span&gt;We are using this plug-in, and in Appian health check report it&amp;#39;s flagged as high risk because it&amp;#39;s referencing the removed/deprecated Appian APIs. So, will there be an update that will address these issues?&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.appian.com/aggbug?PostID=748&amp;AppID=50&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Text File Utilities</title><link>https://community.appian.com/b/appmarket/posts/text-file-reader</link><pubDate>Mon, 21 Jan 2019 14:56:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bbc0ee00-4d9b-43bf-acb1-70c0bec475f9</guid><dc:creator>kamruddinm</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hi Michael,&lt;/p&gt;
&lt;p&gt;What is the maximum size of the file that can be read using the function readTextFromFile ?&lt;/p&gt;
&lt;img src="https://community.appian.com/aggbug?PostID=748&amp;AppID=50&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>