<?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: Unique field in custom Model in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/unique-field-in-custom-model/m-p/265155#M218285</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There isn't any XML configuration to define a unique field in custom content model. This cannot be achieved through configuration. Customization is required to get this implemented.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is a link to one of the forum post which suggests how to implement the unique field in custom content model. The approach is good. Take a look at it - &lt;/SPAN&gt;&lt;A href="https://forums.alfresco.com/comment/146372#comment-146372" rel="nofollow noopener noreferrer"&gt;https://forums.alfresco.com/comment/146372#comment-146372&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Apr 2014 13:04:00 GMT</pubDate>
    <dc:creator>romschn</dc:creator>
    <dc:date>2014-04-30T13:04:00Z</dc:date>
    <item>
      <title>Unique field in custom Model</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unique-field-in-custom-model/m-p/265149#M218279</link>
      <description>Hi,I have my own custom model.I want to create&amp;nbsp; a&amp;nbsp; property which can take only unique value like the cm:name field in alfresco content model.Can anybody guide me how to do that?Regards,Sradha</description>
      <pubDate>Wed, 09 Jan 2013 10:18:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unique-field-in-custom-model/m-p/265149#M218279</guid>
      <dc:creator>sradha</dc:creator>
      <dc:date>2013-01-09T10:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: Unique field in custom Model</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unique-field-in-custom-model/m-p/265150#M218280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I really do not think there is any configuration you can do in the model related to you customization.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Actually for cm:name also there is nothing special in model to keep it unique.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It is just during creation of noderef it check for all the existing files and that too in particular parents only not through out the alfresco.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 11:28:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unique-field-in-custom-model/m-p/265150#M218280</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2013-01-09T11:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Unique field in custom Model</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unique-field-in-custom-model/m-p/265151#M218281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It also depends on how you created your custom model. Did you inherit from cm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;erson or cm:content or cm:folder or something like that maybe? If you did, then you already have the cm:name inherited in your type.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2013 10:21:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unique-field-in-custom-model/m-p/265151#M218281</guid>
      <dc:creator>zladuric</dc:creator>
      <dc:date>2013-01-16T10:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Unique field in custom Model</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unique-field-in-custom-model/m-p/265152#M218282</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 want to add a filed called attachment in my custom model to attach multiple files/supporting document and onclick of the file,the file should open .Can anybody help?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2013 07:42:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unique-field-in-custom-model/m-p/265152#M218282</guid>
      <dc:creator>sradha</dc:creator>
      <dc:date>2013-02-05T07:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: Unique field in custom Model</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unique-field-in-custom-model/m-p/265153#M218283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Sradha,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Finally, you could create a unique field to your custom model?&amp;nbsp; I currently have the same problem and I do not know how to solve it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 22:47:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unique-field-in-custom-model/m-p/265153#M218283</guid>
      <dc:creator>paulescom</dc:creator>
      <dc:date>2014-04-29T22:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: Unique field in custom Model</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unique-field-in-custom-model/m-p/265154#M218284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Paul,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There isn't any XML configuration to define a unique field in custom content model. This cannot be achieved through configuration. Customization is required to get this implemented.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is a link to one of the forum post which suggests how to implement the unique field in custom content model. The approach is good. Take a look at it - &lt;/SPAN&gt;&lt;A href="https://forums.alfresco.com/comment/146372#comment-146372" rel="nofollow noopener noreferrer"&gt;https://forums.alfresco.com/comment/146372#comment-146372&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2014 13:04:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unique-field-in-custom-model/m-p/265154#M218284</guid>
      <dc:creator>romschn</dc:creator>
      <dc:date>2014-04-30T13:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: Unique field in custom Model</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unique-field-in-custom-model/m-p/265155#M218285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There isn't any XML configuration to define a unique field in custom content model. This cannot be achieved through configuration. Customization is required to get this implemented.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is a link to one of the forum post which suggests how to implement the unique field in custom content model. The approach is good. Take a look at it - &lt;/SPAN&gt;&lt;A href="https://forums.alfresco.com/comment/146372#comment-146372" rel="nofollow noopener noreferrer"&gt;https://forums.alfresco.com/comment/146372#comment-146372&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2014 13:04:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unique-field-in-custom-model/m-p/265155#M218285</guid>
      <dc:creator>romschn</dc:creator>
      <dc:date>2014-04-30T13:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: Unique field in custom Model</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unique-field-in-custom-model/m-p/265156#M218286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think what you want is a constraint.&amp;nbsp;&amp;nbsp; So you could use the cm:name as an example.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It may be that you need to add a new type of constraint.&amp;nbsp;&amp;nbsp; Off the top of my head I'd back up the constraint with a value in the attribute service.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2014 17:36:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unique-field-in-custom-model/m-p/265156#M218286</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2014-04-30T17:36:27Z</dc:date>
    </item>
  </channel>
</rss>

