<?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 Modify word document information when content enters a space in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/modify-word-document-information-when-content-enters-a-space/m-p/260092#M213222</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was trying to implement a small requirement and I just wanted to know if you had any suggestions about the same:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When a user uploads a document (word or pdf) to a space, is it possible to modify this file at the Rule level, i.e. a rule say; modifyFile.js runs; and adds a line to the first page of the document.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this possible? I have mostly worked with content at the JavascriptAPI level and hence my thought first went there; if there are alternatives, I will be glad to consider and explore.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much for your time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Sep 2012 22:33:00 GMT</pubDate>
    <dc:creator>jackjm</dc:creator>
    <dc:date>2012-09-13T22:33:00Z</dc:date>
    <item>
      <title>Modify word document information when content enters a space</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/modify-word-document-information-when-content-enters-a-space/m-p/260092#M213222</link>
      <description>Hello all,I was trying to implement a small requirement and I just wanted to know if you had any suggestions about the same:When a user uploads a document (word or pdf) to a space, is it possible to modify this file at the Rule level, i.e. a rule say; modifyFile.js runs; and adds a line to the first</description>
      <pubDate>Thu, 13 Sep 2012 22:33:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/modify-word-document-information-when-content-enters-a-space/m-p/260092#M213222</guid>
      <dc:creator>jackjm</dc:creator>
      <dc:date>2012-09-13T22:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Modify word document information when content enters a space</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/modify-word-document-information-when-content-enters-a-space/m-p/260093#M213223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alfresco does not provide the necessary JavaScript API to write into Word or PDF files. You may achieve something like this if you implement actions for rules in Java, and make use of thrid party libraries for Word / PDF manipulation (e.g. docx4j for Word 2007 and above).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2012 07:13:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/modify-word-document-information-when-content-enters-a-space/m-p/260093#M213223</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2012-09-14T07:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Modify word document information when content enters a space</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/modify-word-document-information-when-content-enters-a-space/m-p/260094#M213224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;you might also take a look to these Java libraries &lt;/SPAN&gt;&lt;A href="http://poi.apache.org/" rel="nofollow noopener noreferrer"&gt;http://poi.apache.org/&lt;/A&gt;&lt;SPAN&gt; which are very useful when manipulating Microsoft documents.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Andrea&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2012 07:16:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/modify-word-document-information-when-content-enters-a-space/m-p/260094#M213224</guid>
      <dc:creator>abarisone</dc:creator>
      <dc:date>2012-09-14T07:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: Modify word document information when content enters a space</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/modify-word-document-information-when-content-enters-a-space/m-p/260095#M213225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am also have same requirement i.e when &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i am upload the xlxs file into repository. I need to execute one JS&amp;nbsp; file which reads the xlxs content and stored it in to repository.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If any one have idea on this please help me.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2012 09:27:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/modify-word-document-information-when-content-enters-a-space/m-p/260095#M213225</guid>
      <dc:creator>santoshbaradwaj</dc:creator>
      <dc:date>2012-09-18T09:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: Modify word document information when content enters a space</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/modify-word-document-information-when-content-enters-a-space/m-p/260096#M213226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;you can create a rule on the folder/folders of your repository which relies on a Java Backed webscript that manipulates your xlsx files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This webscript should exploit Apache POI libraries to read the xlsx file content and do what you need.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Usually a rule is linked to an action to be performed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;More info here &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://docs.alfresco.com/4.0/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Ftasks%2Flibrary-folder-rules-define-create.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/4.0/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Ftasks%2Flibrary-folder-rules-define-create.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://docs.alfresco.com/4.0/topic/com.alfresco.enterprise.doc/concepts/actions.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/4.0/topic/com.alfresco.enterprise.doc/concepts/actions.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Andrea&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2012 09:45:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/modify-word-document-information-when-content-enters-a-space/m-p/260096#M213226</guid>
      <dc:creator>abarisone</dc:creator>
      <dc:date>2012-09-18T09:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: Modify word document information when content enters a space</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/modify-word-document-information-when-content-enters-a-space/m-p/260097#M213227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Axel, Andrea:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much for your assistance. I have something to go on. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think it will be nice if there was bare-bones no-assumption guide around to create a java backed webscript. I will try to make one if I can wrap my head around all the components.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2012 16:02:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/modify-word-document-information-when-content-enters-a-space/m-p/260097#M213227</guid>
      <dc:creator>jackjm</dc:creator>
      <dc:date>2012-09-27T16:02:49Z</dc:date>
    </item>
  </channel>
</rss>

