<?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 aspects to a custom type? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-add-aspects-to-a-custom-type/m-p/26188#M11336</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to develop a model that has a custom type and some aspects. Now I have defined a base type called my:document and I want to add an aspect to that type, called my:aspect. I want to have this aspect show up in all the nodes that are from the my:document type and it's children also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to add this in the model I downloaded from the model manager. I&amp;nbsp;changed the my_model.xml and inserted the mandatory aspect into the mandatory-aspects element as per the &lt;A href="http://docs.alfresco.com/community/tasks/dev-extensions-content-models-tutorials-add-mandatory-aspect.html" rel="nofollow noopener noreferrer"&gt;developer guide&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I zipped the model folder and during upload I get an error. The error is&amp;nbsp;"&lt;SPAN style="color: #ffffff; background-color: #666666;"&gt;The custom model doesn't support the 'mandatory-aspects' element.&lt;/SPAN&gt;".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I run&amp;nbsp;Alfresco Community Edition 201707.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question is the rationale on why the custom model is not accepting the mandatory-aspect.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Jul 2017 17:37:14 GMT</pubDate>
    <dc:creator>robjkamp</dc:creator>
    <dc:date>2017-07-26T17:37:14Z</dc:date>
    <item>
      <title>how to add aspects to a custom type?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-add-aspects-to-a-custom-type/m-p/26188#M11336</link>
      <description>I'm trying to develop a model that has a custom type and some aspects. Now I have defined a base type called my:document and I want to add an aspect to that type, called my:aspect. I want to have this aspect show up in all the nodes that are from the my:document type and it's children also.I have tr</description>
      <pubDate>Wed, 26 Jul 2017 17:37:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-add-aspects-to-a-custom-type/m-p/26188#M11336</guid>
      <dc:creator>robjkamp</dc:creator>
      <dc:date>2017-07-26T17:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: how to add aspects to a custom type?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-add-aspects-to-a-custom-type/m-p/26189#M11337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please add your content model xml.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jul 2017 09:39:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-add-aspects-to-a-custom-type/m-p/26189#M11337</guid>
      <dc:creator>krutik_jayswal</dc:creator>
      <dc:date>2017-07-27T09:39:40Z</dc:date>
    </item>
  </channel>
</rss>

