<?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 Email metadata in Attachment in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/email-metadata-in-attachment/m-p/216581#M169711</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;BR /&gt;&lt;SPAN&gt;I recently installed 3.2 and it's working like a charm!&amp;nbsp; BUT i just cant find the way to transfer email metadata like the subject to the attachment properties.&amp;nbsp; I created a rule to add the Email Aspect to the incoming document from a Scanner Email and later extract the metadata but nothing is passed to the attachment properties (Email aspect empty).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does this functionality require additional programing? I will appreciate any lead!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Reggie.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Sep 2009 18:45:56 GMT</pubDate>
    <dc:creator>reggiepr</dc:creator>
    <dc:date>2009-09-09T18:45:56Z</dc:date>
    <item>
      <title>Email metadata in Attachment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/email-metadata-in-attachment/m-p/216581#M169711</link>
      <description>Hi,I recently installed 3.2 and it's working like a charm!&amp;nbsp; BUT i just cant find the way to transfer email metadata like the subject to the attachment properties.&amp;nbsp; I created a rule to add the Email Aspect to the incoming document from a Scanner Email and later extract the metadata but nothing is pas</description>
      <pubDate>Wed, 09 Sep 2009 18:45:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/email-metadata-in-attachment/m-p/216581#M169711</guid>
      <dc:creator>reggiepr</dc:creator>
      <dc:date>2009-09-09T18:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: Email metadata in Attachment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/email-metadata-in-attachment/m-p/216582#M169712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How are you adding your document from your email scanner?&amp;nbsp; Are you uploading it through one of the UIs or via SMTP, IMAP, CIFS, WebDav or FTP?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are specifying a "mime type" then what are you specifying ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And what exactly do you mean by the "Email Aspect".&amp;nbsp;&amp;nbsp;&amp;nbsp; What's the qname?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 21:46:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/email-metadata-in-attachment/m-p/216582#M169712</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2009-09-09T21:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: Email metadata in Attachment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/email-metadata-in-attachment/m-p/216583#M169713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;How are you adding your document from your email scanner?&amp;nbsp; Are you uploading it through one of the UIs or via SMTP, IMAP, CIFS, WebDav or FTP?&lt;BR /&gt;&lt;BR /&gt;If you are specifying a "mime type" then what are you specifying ?&lt;BR /&gt;&lt;BR /&gt;And what exactly do you mean by the "Email Aspect".&amp;nbsp;&amp;nbsp;&amp;nbsp; What's the qname?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry for not being more specific.&amp;nbsp;&amp;nbsp; The documents are sent via SMTP to an email alias associated with a space.&amp;nbsp; I specified an Email mime type in the condition of the rule than later thought wise to add the "Emailed" aspect in the action setting so that the the properties from the "Extract common metadata fields from content"&amp;nbsp; could be assigned to the PDF document attached with the email. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Obviously that was a wishful thinking on how things could work but apparently this is not done so easily.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is that I endup with a pdf document on disk with no metadata whatsoever except for the useless automatically assigned filename by the multifunctional scanner.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Got the picture?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 22:02:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/email-metadata-in-attachment/m-p/216583#M169713</guid>
      <dc:creator>reggiepr</dc:creator>
      <dc:date>2009-09-09T22:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: Email metadata in Attachment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/email-metadata-in-attachment/m-p/216584#M169714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I keep searching the forum posts for a similar issue and some are suggesting using Kofax and e-copy which are commercial solutions.&amp;nbsp; However I could live with a rule or a script that copies the subject of the originating email from the scanner to the Title of the PDF attachment?&amp;nbsp; I also observed that the plain text file extracted from the email has the a reference in its metadata to the attachment(not a link though):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Eg. "Attachments: /company_home/Prueba/tabletpc specs and quote.pdf"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2009 12:53:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/email-metadata-in-attachment/m-p/216584#M169714</guid>
      <dc:creator>reggiepr</dc:creator>
      <dc:date>2009-09-10T12:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: Email metadata in Attachment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/email-metadata-in-attachment/m-p/216585#M169715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think you will have to write a few lines of code to rename your PDF file when it is added to alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can do this by adding a rule or a behaviour.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One concern I have about that approach is that there may be a race condition between the metadata extractor for PDF files and your code.&amp;nbsp;&amp;nbsp; For example after your code the metadata extractor for PDF comes along and re-sets the value.&amp;nbsp; It will need a little experimentation to get working.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2009 13:16:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/email-metadata-in-attachment/m-p/216585#M169715</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2009-09-10T13:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: Email metadata in Attachment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/email-metadata-in-attachment/m-p/216586#M169716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, I've conceived a way to get I want and it consists of reading the attachment information from the document using javascript and later renaming that file with the email subject title.&amp;nbsp; However after reading the javascript API I didnt find specific examples or details on how to do so.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As you can see in the picture, the attachment full path appears in the properties under "Attachments".&amp;nbsp; Now, how do I read that info from javascript? I tried 'document.properties', 'document.assocs' with no luck.&amp;nbsp; I guess that for you the experts or the more experienced, it must be a piece of cake.. so HELP!!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[img]&lt;/SPAN&gt;&lt;A href="http://www.mojicas.com/dish/alfresco_attachment.jpg" rel="nofollow noopener noreferrer"&gt;http://www.mojicas.com/dish/alfresco_attachment.jpg&lt;/A&gt;&lt;SPAN&gt;[/img]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2009 12:04:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/email-metadata-in-attachment/m-p/216586#M169716</guid>
      <dc:creator>reggiepr</dc:creator>
      <dc:date>2009-09-14T12:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Email metadata in Attachment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/email-metadata-in-attachment/m-p/216587#M169717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well i had to burn my brain in it and with some trial and error and using the API logic i could make it work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I used:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;for each (n in document.assocs["cm:attachments"])&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now going for some serious study into this thing… LOVE IT!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2009 16:09:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/email-metadata-in-attachment/m-p/216587#M169717</guid>
      <dc:creator>reggiepr</dc:creator>
      <dc:date>2009-09-15T16:09:35Z</dc:date>
    </item>
  </channel>
</rss>

