<?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 How to add a new property- 'document no' to an uploaded pdf document in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-a-new-property-document-no-to-an-uploaded-pdf/m-p/286734#M239864</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have cerated a site xyx and uploaded a pdf document.I have got Name Title etc, I want to add an extra text field - Document ID as property of the document.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do i do this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using alfresco-4.2.c in fedora 17 linux 64bit&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Jun 2013 08:54:17 GMT</pubDate>
    <dc:creator>tanzeemmb</dc:creator>
    <dc:date>2013-06-05T08:54:17Z</dc:date>
    <item>
      <title>How to add a new property- 'document no' to an uploaded pdf document</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-a-new-property-document-no-to-an-uploaded-pdf/m-p/286734#M239864</link>
      <description>I have cerated a site xyx and uploaded a pdf document.I have got Name Title etc, I want to add an extra text field - Document ID as property of the document.How do i do this?I am using alfresco-4.2.c in fedora 17 linux 64bitPlease help</description>
      <pubDate>Wed, 05 Jun 2013 08:54:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-add-a-new-property-document-no-to-an-uploaded-pdf/m-p/286734#M239864</guid>
      <dc:creator>tanzeemmb</dc:creator>
      <dc:date>2013-06-05T08:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a new property- 'document no' to an uploaded pdf document</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-a-new-property-document-no-to-an-uploaded-pdf/m-p/286735#M239865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can do this in many ways.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;one way to do this is &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Create an aspect with Document ID as property. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Then set a rule for applying this aspect for documents uploaded in a space where you want to upload the documents. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Add the aspect in share-config-custom.xml so that the property is visible when you edit the document properties.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. When you edit the document properties you will see the Document ID property.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2013 10:17:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-add-a-new-property-document-no-to-an-uploaded-pdf/m-p/286735#M239865</guid>
      <dc:creator>rajeshavatani</dc:creator>
      <dc:date>2013-06-05T10:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a new property- 'document no' to an uploaded pdf document</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-a-new-property-document-no-to-an-uploaded-pdf/m-p/286736#M239866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I did this had problems with the document id in the aspect. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;found it would not show correctly. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;created an id field and applied the sysid to and this worked. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if( !document.hasAspect("newAspect:coreAspect") ) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{ &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; document.addAspect("newAspect:coreAspect"); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; document.properties["newAspect:id"] = document.properties["sys:node-dbid"]; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; document.properties["newAspect:createdDate"] = new Date();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; document.save(); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;} &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2013 20:58:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-add-a-new-property-document-no-to-an-uploaded-pdf/m-p/286736#M239866</guid>
      <dc:creator>michaelc</dc:creator>
      <dc:date>2013-06-05T20:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a new property- 'document no' to an uploaded pdf document</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-a-new-property-document-no-to-an-uploaded-pdf/m-p/286737#M239867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a similar requirement. Have to add lot of new properties to a file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the best way to achieve the same. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Shailaja&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 14:05:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-add-a-new-property-document-no-to-an-uploaded-pdf/m-p/286737#M239867</guid>
      <dc:creator>sdatla</dc:creator>
      <dc:date>2013-07-30T14:05:45Z</dc:date>
    </item>
  </channel>
</rss>

