<?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 Child Association on cm:content in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/child-association-on-cm-content/m-p/62462#M38970</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I want to create a gallery in Alfresco. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On each document image/jpeg, I would associate another cm:content that contains the thumbnail of the picture. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have created a new aspect that has a child association to the thumbnail. I create the thumbnail on the event "onAddAspect". &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The IntegrityChecker print an ERROR indicating : &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The association source type is incorrect: &lt;BR /&gt;Required Source Type : {&lt;A href="http://www.alfresco.org/model/system/1.0}container" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/system/1.0}container&lt;/A&gt;&lt;BR /&gt;Actual Source Type : {&lt;A href="http://www.alfresco.org/model/content/1.0}content" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}content&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;The custom model I made is : &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&amp;lt;aspect name="pict&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;icture"&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;associations&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;child-association name="pict:thumbnail"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;target&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;class&amp;gt;cm:content&amp;lt;/class&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;mantatory&amp;gt;false&amp;lt;/mandatory&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;many&amp;gt;false&amp;lt;/many&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/target&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/child-association&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/associations&amp;gt;&lt;BR /&gt;&amp;lt;/aspect&amp;gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't figure out how to add a thumbnail as a child of my pictures. Can you help me ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Nov 2006 15:04:01 GMT</pubDate>
    <dc:creator>naramski</dc:creator>
    <dc:date>2006-11-13T15:04:01Z</dc:date>
    <item>
      <title>Child Association on cm:content</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/child-association-on-cm-content/m-p/62462#M38970</link>
      <description>I want to create a gallery in Alfresco. On each document image/jpeg, I would associate another cm:content that contains the thumbnail of the picture. I have created a new aspect that has a child association to the thumbnail. I create the thumbnail on the event "onAddAspect". The IntegrityChecker pri</description>
      <pubDate>Mon, 13 Nov 2006 15:04:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/child-association-on-cm-content/m-p/62462#M38970</guid>
      <dc:creator>naramski</dc:creator>
      <dc:date>2006-11-13T15:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: Child Association on cm:content</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/child-association-on-cm-content/m-p/62463#M38971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Actually, I found my mistake. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was using the nodeService.createNode for creating a new child on onAddAspect. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was using a ContentModel.ASSOC_CHILDREN on the second argument. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I should use QName.createQName("extension.picture", "thumbnail").&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2006 16:30:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/child-association-on-cm-content/m-p/62463#M38971</guid>
      <dc:creator>naramski</dc:creator>
      <dc:date>2006-11-13T16:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: Child Association on cm:content</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/child-association-on-cm-content/m-p/62464#M38972</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;I've read your post, and it seems that you've solved the exact problem i am now facing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to create a thumbnail view - (i want every picture in the gallery to&amp;nbsp; have an "thumbnail" aspect, that will point to a thumbnail that i created; i want the icon that is generated by alfresco to be replaced with my thumbnail).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;can you please share the steps you've taken to achieve this goal?&amp;nbsp;&amp;nbsp;&amp;nbsp; :?: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dror&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2007 08:00:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/child-association-on-cm-content/m-p/62464#M38972</guid>
      <dc:creator>friedman30</dc:creator>
      <dc:date>2007-05-10T08:00:07Z</dc:date>
    </item>
  </channel>
</rss>

