<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Open and read a TXT file stored in Alfresco in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/open-and-read-a-txt-file-stored-in-alfresco/m-p/30018#M12772</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The script API provides access to a node's content via the &lt;A href="http://docs.alfresco.com/5.2/references/API-JS-ScriptNode.html" rel="nofollow noopener noreferrer"&gt;ScriptNode API&lt;/A&gt;. The home folder of a user (their "My Files" location) can be retrieved by accessing the property&amp;nbsp;cm:homeFolder of the node representing the user (the person node) - that can be retrieved via the &lt;A href="http://docs.alfresco.com/5.2/references/API-JS-People.html" rel="nofollow noopener noreferrer"&gt;People API&lt;/A&gt; and "people" &lt;A href="http://docs.alfresco.com/5.2/references/API-JS-rootscoped.html" rel="nofollow noopener noreferrer"&gt;root object&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Aug 2017 09:40:42 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2017-08-01T09:40:42Z</dc:date>
    <item>
      <title>Open and read a TXT file stored in Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/open-and-read-a-txt-file-stored-in-alfresco/m-p/30017#M12771</link>
      <description>Dear All,Got the following problem to solve. The user should be able to copy a set of property values between different documents. My idea is the following:create a JS script which gets all the properties and their values from the selected content. It does check the content type and only works if th</description>
      <pubDate>Tue, 01 Aug 2017 08:44:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/open-and-read-a-txt-file-stored-in-alfresco/m-p/30017#M12771</guid>
      <dc:creator>zputnoky</dc:creator>
      <dc:date>2017-08-01T08:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: Open and read a TXT file stored in Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/open-and-read-a-txt-file-stored-in-alfresco/m-p/30018#M12772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The script API provides access to a node's content via the &lt;A href="http://docs.alfresco.com/5.2/references/API-JS-ScriptNode.html" rel="nofollow noopener noreferrer"&gt;ScriptNode API&lt;/A&gt;. The home folder of a user (their "My Files" location) can be retrieved by accessing the property&amp;nbsp;cm:homeFolder of the node representing the user (the person node) - that can be retrieved via the &lt;A href="http://docs.alfresco.com/5.2/references/API-JS-People.html" rel="nofollow noopener noreferrer"&gt;People API&lt;/A&gt; and "people" &lt;A href="http://docs.alfresco.com/5.2/references/API-JS-rootscoped.html" rel="nofollow noopener noreferrer"&gt;root object&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Aug 2017 09:40:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/open-and-read-a-txt-file-stored-in-alfresco/m-p/30018#M12772</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-08-01T09:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: Open and read a TXT file stored in Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/open-and-read-a-txt-file-stored-in-alfresco/m-p/30019#M12773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Managed to open the file and read the content. So far so good. Now got another issue to list all the custom properties. Going ahead slowly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Aug 2017 09:59:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/open-and-read-a-txt-file-stored-in-alfresco/m-p/30019#M12773</guid>
      <dc:creator>zputnoky</dc:creator>
      <dc:date>2017-08-01T09:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: Open and read a TXT file stored in Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/open-and-read-a-txt-file-stored-in-alfresco/m-p/30020#M12774</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have the same problematic but I haven't find the function for read a txt file in ScriptNode API.&lt;/P&gt;&lt;P&gt;Can you help me please ?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 14:05:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/open-and-read-a-txt-file-stored-in-alfresco/m-p/30020#M12774</guid>
      <dc:creator>Kevin2</dc:creator>
      <dc:date>2020-09-21T14:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Open and read a TXT file stored in Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/open-and-read-a-txt-file-stored-in-alfresco/m-p/30021#M12775</link>
      <description>&lt;P&gt;Try&lt;/P&gt;&lt;PRE&gt;var fileContent = document.content;&lt;/PRE&gt;</description>
      <pubDate>Mon, 21 Sep 2020 14:14:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/open-and-read-a-txt-file-stored-in-alfresco/m-p/30021#M12775</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2020-09-21T14:14:35Z</dc:date>
    </item>
  </channel>
</rss>

