<?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 Problems in the creation of a new model in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/problems-in-the-creation-of-a-new-model/m-p/53336#M31558</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;SPAN&gt;I have created the type of content "my: sop" in exampleModel.xml: &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt; &lt;BR /&gt;. &lt;BR /&gt;. &lt;BR /&gt;&amp;lt;type name="my:sop"&amp;gt; &lt;BR /&gt;&amp;lt;title&amp;gt;Standard Operating Procedure&amp;lt;/title&amp;gt; &lt;BR /&gt;&amp;lt;parent&amp;gt;cm:content&amp;lt;/parent&amp;gt; &lt;BR /&gt;&amp;lt;properties&amp;gt; &lt;BR /&gt;&amp;lt;property name="my:NIF_Proveedor"&amp;gt; &lt;BR /&gt;&amp;lt;type&amp;gt;d:text&amp;lt;/type&amp;gt; &lt;BR /&gt;&amp;lt;mandatory&amp;gt;true&amp;lt;/mandatory&amp;gt; &lt;BR /&gt;&amp;lt;/property&amp;gt; &lt;BR /&gt;&amp;lt;property name="my:Fecha_Factura"&amp;gt; &lt;BR /&gt;&amp;lt;type&amp;gt;d:date&amp;lt;/type&amp;gt; &lt;BR /&gt;&amp;lt;mandatory&amp;gt;true&amp;lt;/mandatory&amp;gt;&amp;gt; &lt;BR /&gt;&amp;lt;/property&amp;gt; &lt;BR /&gt;&amp;lt;property name="my:Numero_Factura"&amp;gt; &lt;BR /&gt;&amp;lt;type&amp;gt;d:text&amp;lt;/type&amp;gt; &lt;BR /&gt;&amp;lt;mandatory&amp;gt;true&amp;lt;/mandatory&amp;gt;&amp;gt; &lt;BR /&gt;&amp;lt;/property&amp;gt; &lt;BR /&gt;. &lt;BR /&gt;. &lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&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;SPAN&gt;When I create a content of the type my: sop appears to me properties that I have not defined in my: sop. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;they are the following ones: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-name &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-title &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-description &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-author &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-edit inline &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-content type &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How I can eliminate these properties? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 22 Oct 2006 12:05:53 GMT</pubDate>
    <dc:creator>rcortesr</dc:creator>
    <dc:date>2006-10-22T12:05:53Z</dc:date>
    <item>
      <title>Problems in the creation of a new model</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problems-in-the-creation-of-a-new-model/m-p/53336#M31558</link>
      <description>Hi, I have created the type of content "my: sop" in exampleModel.xml:  . . &amp;lt;type name="my:sop"&amp;gt; &amp;lt;title&amp;gt;Standard Operating Procedure&amp;lt;/title&amp;gt; &amp;lt;parent&amp;gt;cm:content&amp;lt;/parent&amp;gt; &amp;lt;properties&amp;gt; &amp;lt;property name="my:NIF_Proveedor"&amp;gt; &amp;lt;type&amp;gt;d:text&amp;lt;/type&amp;gt; &amp;lt;mandat</description>
      <pubDate>Sun, 22 Oct 2006 12:05:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problems-in-the-creation-of-a-new-model/m-p/53336#M31558</guid>
      <dc:creator>rcortesr</dc:creator>
      <dc:date>2006-10-22T12:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problems in the creation of a new model</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problems-in-the-creation-of-a-new-model/m-p/53337#M31559</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;You need to NOT inherited your model to "content" model.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Because these properties (name, title, description, author, edit inline, content type) are from content model.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;bst regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Oct 2006 07:53:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problems-in-the-creation-of-a-new-model/m-p/53337#M31559</guid>
      <dc:creator>ribz33</dc:creator>
      <dc:date>2006-10-23T07:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problems in the creation of a new model</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problems-in-the-creation-of-a-new-model/m-p/53338#M31560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;You need to NOT inherited your model to "content" model.&lt;BR /&gt;Because these properties (name, title, description, author, edit inline, content type) are from content model.&lt;BR /&gt;&lt;BR /&gt;bst regards&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;If I don't inherit exampleModel of contentModel an error takes place and the web client is not loaded.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My exampleModel.xml is in /tomcat/shared/slasses/alfresco/extension, this is the problem?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Oct 2006 08:42:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problems-in-the-creation-of-a-new-model/m-p/53338#M31560</guid>
      <dc:creator>rcortesr</dc:creator>
      <dc:date>2006-10-23T08:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problems in the creation of a new model</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problems-in-the-creation-of-a-new-model/m-p/53339#M31561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I dont think that is the problem…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;you need to inherite from CMObject probably.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Look this to have more idea about existing model&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Domain_Model" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Domain_Model&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Oct 2006 08:53:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problems-in-the-creation-of-a-new-model/m-p/53339#M31561</guid>
      <dc:creator>ribz33</dc:creator>
      <dc:date>2006-10-23T08:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problems in the creation of a new model</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problems-in-the-creation-of-a-new-model/m-p/53340#M31562</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;ribz33 is correct, these properties are displayed because you have inherited from cm:content, which is the correct thing to do if your type is a form of content.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The properties show because they are configured to do so in web-client-config-properties.xml. The properties you mention are all introduced via aspects, so each config section that has an aspect-name evaluator that matches will be applied.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One way to hide these properties is to do so in the configuration for your type. Add the "show-in-view-mode=false" and "show-in-edit-mode=false" attributes to your show-property declaration. See &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Displaying_Custom_Metadata" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Displaying_Custom_Metadata&lt;/A&gt;&lt;SPAN&gt; for details.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Oct 2006 09:34:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problems-in-the-creation-of-a-new-model/m-p/53340#M31562</guid>
      <dc:creator>gavinc</dc:creator>
      <dc:date>2006-10-23T09:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problems in the creation of a new model</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problems-in-the-creation-of-a-new-model/m-p/53341#M31563</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;SPAN&gt;I have done what you have said to me. But the web client not load.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I not as it is the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Oct 2006 09:44:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problems-in-the-creation-of-a-new-model/m-p/53341#M31563</guid>
      <dc:creator>rcortesr</dc:creator>
      <dc:date>2006-10-23T09:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problems in the creation of a new model</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problems-in-the-creation-of-a-new-model/m-p/53342#M31564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the information.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Oct 2006 13:17:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problems-in-the-creation-of-a-new-model/m-p/53342#M31564</guid>
      <dc:creator>rcortesr</dc:creator>
      <dc:date>2006-10-23T13:17:00Z</dc:date>
    </item>
  </channel>
</rss>

