<?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 Re: Modifying custom models in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/modifying-custom-models/m-p/48994#M18992</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah making changes to existing applied model does give any error. It seems error lies in your model XML&amp;nbsp;file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Jan 2018 13:25:07 GMT</pubDate>
    <dc:creator>rohit9637</dc:creator>
    <dc:date>2018-01-16T13:25:07Z</dc:date>
    <item>
      <title>Modifying custom models</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/modifying-custom-models/m-p/48992#M18990</link>
      <description>I currently have an active custom model, generated by xml and one of the types is currently applied to a node.When attempting to modify the code definition of the model (adding an aspect), I can't save the changes:1. Is this because the type is active and applied?2. Is there a way to modify models w</description>
      <pubDate>Tue, 16 Jan 2018 09:29:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/modifying-custom-models/m-p/48992#M18990</guid>
      <dc:creator>ally311</dc:creator>
      <dc:date>2018-01-16T09:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying custom models</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/modifying-custom-models/m-p/48993#M18991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It all depends on the change you are performing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you say "adding an aspect", what exactly do you mean?&lt;/P&gt;&lt;P&gt;Are you simply creating a new aspect definition?&lt;/P&gt;&lt;P&gt;Are you configuring the aspect as mandatory inside the type?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share the content model xml file and highlight the changes you have made?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jan 2018 12:23:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/modifying-custom-models/m-p/48993#M18991</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2018-01-16T12:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying custom models</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/modifying-custom-models/m-p/48994#M18992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah making changes to existing applied model does give any error. It seems error lies in your model XML&amp;nbsp;file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jan 2018 13:25:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/modifying-custom-models/m-p/48994#M18992</guid>
      <dc:creator>rohit9637</dc:creator>
      <dc:date>2018-01-16T13:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying custom models</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/modifying-custom-models/m-p/48995#M18993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sadly I can't provide the xml file just now, but I was configuring the new aspect as mandatory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume from your answer that that's where I was going wrong.&lt;/P&gt;&lt;P&gt;But I can add an aspect definition that isn't marked as mandatory?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jan 2018 13:33:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/modifying-custom-models/m-p/48995#M18993</guid>
      <dc:creator>ally311</dc:creator>
      <dc:date>2018-01-16T13:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying custom models</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/modifying-custom-models/m-p/48996#M18994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you can.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if what you need is to have the aspect as mandatory-aspect for a custom type, then you will have to go using two steps, being the first one to create the new aspect, but not defining it as mandatory-aspect.&lt;/P&gt;&lt;P&gt;Use some kind of batch processing to&amp;nbsp;attach the new aspect to all the existing documents with this custom type.&lt;/P&gt;&lt;P&gt;After that, change the content model, but this time, defining the aspect as mandatory, and then, publish this new content model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By doing to, all the new documents created after this second content model publication will have the aspect attached automatically for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jan 2018 13:46:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/modifying-custom-models/m-p/48996#M18994</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2018-01-16T13:46:52Z</dc:date>
    </item>
  </channel>
</rss>

