<?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 Using aspects alone instead of types to set properties on documents in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/using-aspects-alone-instead-of-types-to-set-properties-on/m-p/46304#M18480</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have just been reading about aspects and types in Alfresco content model.&lt;/P&gt;&lt;P&gt;I very basic question that I have is that I feel types are very restrictive compared to aspects.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets say I upload a document that is a &amp;nbsp;Cash Invoice document and associate some values to the invoice. Later I realise that it was actually a credit invoice document. If I had uploaded the document to a type, then to reassign it to a different type I would have to delete and reupload the document. On the other hand, had I attached an aspect to the invoice document and later found out that it was an incorrect aspect, I could go to manage aspect and add/remove aspect and modify the properties in the aspect. This gives me more flexibility.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my question is,&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Are there any drawbacks to the above approach of having only aspects instead of types?&lt;/P&gt;&lt;P&gt;2. Can I add/remove type of a document after it has been uploaded to alfresco?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Jun 2018 14:45:39 GMT</pubDate>
    <dc:creator>kartech11</dc:creator>
    <dc:date>2018-06-22T14:45:39Z</dc:date>
    <item>
      <title>Using aspects alone instead of types to set properties on documents</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/using-aspects-alone-instead-of-types-to-set-properties-on/m-p/46304#M18480</link>
      <description>I have just been reading about aspects and types in Alfresco content model.I very basic question that I have is that I feel types are very restrictive compared to aspects.&amp;nbsp;Lets say I upload a document that is a &amp;nbsp;Cash Invoice document and associate some values to the invoice. Later I realise that it</description>
      <pubDate>Fri, 22 Jun 2018 14:45:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/using-aspects-alone-instead-of-types-to-set-properties-on/m-p/46304#M18480</guid>
      <dc:creator>kartech11</dc:creator>
      <dc:date>2018-06-22T14:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Using aspects alone instead of types to set properties on documents</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/using-aspects-alone-instead-of-types-to-set-properties-on/m-p/46305#M18481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my input on your questions,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px;"&gt;1. Are there any drawbacks to the above approach of having only aspects instead of types?&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px;"&gt;This is completely depends on problem you are solving. The example you quoted above, I don't see any issue because all you are interested in is property.&amp;nbsp;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px;"&gt;Any single document in repository would belong to at least on content type.&amp;nbsp;If you want to identify your document with some type name and with some set of default properties, you can certainly use type approach.&amp;nbsp;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px;"&gt;In other hand, aspect you can use to decide behavior for your document.&amp;nbsp;If I quot some random example here then, you may want to have some set of&amp;nbsp;additional property with document if invoice is paid vs. invoice is rejected. in this case you can plan to have aspect with respective property,&amp;nbsp; ex. paid aspect&amp;nbsp;may have property with which medium its paid, via which bank etc. and reject invoice aspect may have property like reason for rejection etc.&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px;"&gt;2. Can I add/remove type of a document after it has been uploaded to alfresco?&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px;"&gt;You can change content type once after document is created. You can also do the same using action in Alfresco share.&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px;"&gt;Hope above comment will helpful to you!&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px;"&gt;-Jayesh Prajapati&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px;"&gt;&lt;A href="http://www.enprowess.com" rel="nofollow noopener noreferrer"&gt;www.enprowess.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jun 2018 05:16:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/using-aspects-alone-instead-of-types-to-set-properties-on/m-p/46305#M18481</guid>
      <dc:creator>jayesh_prajapat</dc:creator>
      <dc:date>2018-06-23T05:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: Using aspects alone instead of types to set properties on documents</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/using-aspects-alone-instead-of-types-to-set-properties-on/m-p/46306#M18482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jayes, does using aspects affect my searches?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2018 14:34:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/using-aspects-alone-instead-of-types-to-set-properties-on/m-p/46306#M18482</guid>
      <dc:creator>kartech11</dc:creator>
      <dc:date>2018-06-25T14:34:21Z</dc:date>
    </item>
  </channel>
</rss>

