<?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 Join Query with Custom Aspects ? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/join-query-with-custom-aspects/m-p/254483#M207613</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How could I perform to join custom aspects with cmis query?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;this sql statement is working:&amp;nbsp; SELECT D.*, O.* FROM cmis:document AS D JOIN cm&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;wnable AS O ON D.cmis&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;bjectId = O.cmis&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;bjectId&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But when the tables are our custom apects, it is not working. Is there any way to join them?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Jan 2011 10:12:53 GMT</pubDate>
    <dc:creator>dark_rider</dc:creator>
    <dc:date>2011-01-31T10:12:53Z</dc:date>
    <item>
      <title>Join Query with Custom Aspects ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/join-query-with-custom-aspects/m-p/254483#M207613</link>
      <description>How could I perform to join custom aspects with cmis query?this sql statement is working:&amp;nbsp; SELECT D.*, O.* FROM cmis:document AS D JOIN cm&lt;IMG id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;wnable AS O ON D.cmis&lt;IMG id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;bjectId = O.cmis&lt;IMG id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;bjectIdBut when the tables are our custom apects, it is not working. Is there any way to join them?</description>
      <pubDate>Mon, 31 Jan 2011 10:12:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/join-query-with-custom-aspects/m-p/254483#M207613</guid>
      <dc:creator>dark_rider</dc:creator>
      <dc:date>2011-01-31T10:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Join Query with Custom Aspects ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/join-query-with-custom-aspects/m-p/254484#M207614</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;As far as I understand it, custom aspects should be available to the CMIS data model and anything that extemds content and folder. What happens? Do you get an error or no results?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If the type or property is unknown it should throw an error at query time (try an unknown aspect or type).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So to get any further you need to provide:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Some basic details of the aspect and properties it holds (thier types etc)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) the query&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) a desciption of why it does not work - error no results&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4) if you get no results, confirm the node has the aspect you expect and the properties you expect&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5) Check you can do what you want. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alfresco only supports self joining to aspects on the objects selected in the type (not a real join) - it allows you to make available the additional properties on the nodes pulled back&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Each row in the results set only represents one node, not more.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 21:09:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/join-query-with-custom-aspects/m-p/254484#M207614</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2011-01-31T21:09:19Z</dc:date>
    </item>
  </channel>
</rss>

