<?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: link a content type to an image in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/link-a-content-type-to-an-image/m-p/5282#M818</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, you answered your own question, a full repository search is currently performed for objects of &amp;lt;target&amp;gt; type.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a change in the forthcoming 1.4 release that allows you to restrict the number of results this returns but you can't restrict the search to a space.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The selector/picker components will hopefully be improved in the next release or two so this suggestion is something we'll definitely consider.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could extend the UIAssociationEditor and/or UIChildAssociationEditor to get the behaviour you want for yout type, there is already some 'special' handling in these classes for 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, you could do a similar thing for your type.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Oct 2006 08:52:53 GMT</pubDate>
    <dc:creator>gavinc</dc:creator>
    <dc:date>2006-10-11T08:52:53Z</dc:date>
    <item>
      <title>link a content type to an image</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/link-a-content-type-to-an-image/m-p/5279#M815</link>
      <description>Hi,here's my plan:I'm defining new content types, e.g. an event, a partner, … in the content model. Now, an event will have a title, description, location which are all text fields, but also a logo which will be an image. If I am correct I cannot have one content type Event that will have all these</description>
      <pubDate>Tue, 18 Jul 2006 13:21:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/link-a-content-type-to-an-image/m-p/5279#M815</guid>
      <dc:creator>timv</dc:creator>
      <dc:date>2006-07-18T13:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: link a content type to an image</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/link-a-content-type-to-an-image/m-p/5280#M816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes it is possible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What you could do is create a subtype of content called image (if you haven't already) and then define an association on your event type to the image.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you do this and configure the association to appear on property sheets the association editor control will automatically query for all images in the repository and allow you to select one of them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To set up the association do the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;associations&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; ….properties….&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;association name="your:event"&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;nbsp; &amp;lt;class&amp;gt;your:image-type&amp;lt;/class&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;mandatory&amp;gt;true&amp;lt;/mandatory&amp;gt;&lt;BR /&gt;&amp;nbsp;&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;lt;/association&amp;gt;&lt;BR /&gt;&amp;lt;/associations&amp;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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2006 08:41:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/link-a-content-type-to-an-image/m-p/5280#M816</guid>
      <dc:creator>gavinc</dc:creator>
      <dc:date>2006-07-20T08:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: link a content type to an image</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/link-a-content-type-to-an-image/m-p/5281#M817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Gavin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This works wonderfully.&amp;nbsp; I created a child-association, it shows up as expected, and clicking search displays all "your:image-type" elements as expected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The thing is, it displays all items of that type along with their full paths.&amp;nbsp; Is it possible to only display items from a specific space, and without necessarily displaying the full path?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently the repository is searched from the root for all elements of matching &amp;lt;class&amp;gt;, as specified in &amp;lt;target&amp;gt;.&amp;nbsp; It seems ability to customise &amp;lt;show-association&amp;gt; and &amp;lt;show-child-association&amp;gt; elements to specify a search by xpath would be very helpful here…&amp;nbsp; Is only searching by &amp;lt;class&amp;gt; and from the root currenly supported?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2006 19:03:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/link-a-content-type-to-an-image/m-p/5281#M817</guid>
      <dc:creator>alexeyg</dc:creator>
      <dc:date>2006-10-10T19:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: link a content type to an image</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/link-a-content-type-to-an-image/m-p/5282#M818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, you answered your own question, a full repository search is currently performed for objects of &amp;lt;target&amp;gt; type.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a change in the forthcoming 1.4 release that allows you to restrict the number of results this returns but you can't restrict the search to a space.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The selector/picker components will hopefully be improved in the next release or two so this suggestion is something we'll definitely consider.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could extend the UIAssociationEditor and/or UIChildAssociationEditor to get the behaviour you want for yout type, there is already some 'special' handling in these classes for 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, you could do a similar thing for your type.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2006 08:52:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/link-a-content-type-to-an-image/m-p/5282#M818</guid>
      <dc:creator>gavinc</dc:creator>
      <dc:date>2006-10-11T08:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: link a content type to an image</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/link-a-content-type-to-an-image/m-p/5283#M819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I need he himself behavior that your. That the associations of contents are filtered by spaces. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You have obtained something? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2006 09:45:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/link-a-content-type-to-an-image/m-p/5283#M819</guid>
      <dc:creator>mcalmendros</dc:creator>
      <dc:date>2006-10-30T09:45:19Z</dc:date>
    </item>
  </channel>
</rss>

