<?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 precompile a document in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/precompile-a-document/m-p/76060#M50086</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi to all the folks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;someone know if it's possible to precompile a document with data holded, for example, in another document?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For example is it possible, when i add a certain kind of document in a space, to take some data in this document ad use it to draw up part of another document in the same space? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for help, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alessio A.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Nov 2006 08:58:00 GMT</pubDate>
    <dc:creator>alessioa_</dc:creator>
    <dc:date>2006-11-03T08:58:00Z</dc:date>
    <item>
      <title>precompile a document</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/precompile-a-document/m-p/76060#M50086</link>
      <description>Hi to all the folks,someone know if it's possible to precompile a document with data holded, for example, in another document?For example is it possible, when i add a certain kind of document in a space, to take some data in this document ad use it to draw up part of another document in the same spa</description>
      <pubDate>Fri, 03 Nov 2006 08:58:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/precompile-a-document/m-p/76060#M50086</guid>
      <dc:creator>alessioa_</dc:creator>
      <dc:date>2006-11-03T08:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: precompile a document</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/precompile-a-document/m-p/76061#M50087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You could achieve this using a Javascript based rule in your space.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Simply apply the script to new items added, get it read the contents from the template doc and set the content of the new document.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2006 09:49:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/precompile-a-document/m-p/76061#M50087</guid>
      <dc:creator>gavinc</dc:creator>
      <dc:date>2006-11-03T09:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: precompile a document</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/precompile-a-document/m-p/76062#M50088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi gavinc,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;excuse me but i didn't understand very well….&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I post my specific problem …&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a customer.doc file with personal data of the customer, for example with this structure:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Name: Mario&lt;BR /&gt;Surname: Rossi&lt;BR /&gt;Address: via qualunque,27&lt;BR /&gt;Telephone Number: 33333333&lt;BR /&gt;……………………….&lt;BR /&gt;……………………….&lt;BR /&gt;……………………….&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Now i need to take from this file for example the value of Name, Surname and Address and using this information to fill up the same field in another file, for example invoice.doc&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible to do this? Till now i was able to copy the content from a file to another but not to access a specific information…..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Probably with a simple txt file it is possible but in a doc file?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alessio A.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2006 16:07:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/precompile-a-document/m-p/76062#M50088</guid>
      <dc:creator>alessioa_</dc:creator>
      <dc:date>2006-11-06T16:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: precompile a document</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/precompile-a-document/m-p/76063#M50089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, I see what you mean.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I thought you just wanted to copy the content as is from one document to another.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To achieve what you want you'll need to write a custom action ( see &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Custom_Actions" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Custom_Actions&lt;/A&gt;&lt;SPAN&gt; ) and leverage the POI libraries to read the content of the document you wish to get the info from and set the properties on the node being added to the repository.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2006 09:32:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/precompile-a-document/m-p/76063#M50089</guid>
      <dc:creator>gavinc</dc:creator>
      <dc:date>2006-11-07T09:32:30Z</dc:date>
    </item>
  </channel>
</rss>

