<?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 What query needed to return direct children of cm:cmobject? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/what-query-needed-to-return-direct-children-of-cm-cmobject/m-p/240234#M193364</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Greetings,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I currently have a setup where my main object types in the repository for users are cm:folder and cm:content.&amp;nbsp; I eventually will have child nodes of these base objects for my system(e.g. cm:folder &amp;gt; cm:student_folder).&amp;nbsp; What would be the best way to search and return cm:folder and cm:content and their direct children?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried doing a lucene query &lt;/SPAN&gt;&lt;STRONG&gt;TYPE:"cm:cmobject" &lt;/STRONG&gt;&lt;SPAN&gt; which returned pretty much everything.&amp;nbsp; I tried &lt;/SPAN&gt;&lt;STRONG&gt;PATH:"/cm:cmobject/*&lt;/STRONG&gt;&lt;SPAN&gt;", which according to the search API is supposed to return the direct children of that specified object, but returned nothing to me.&amp;nbsp; Can anyone point me in the right direction on what I might need to do?&amp;nbsp; Thanks in advance!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-sgomez&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Oct 2009 19:24:31 GMT</pubDate>
    <dc:creator>sgomez</dc:creator>
    <dc:date>2009-10-02T19:24:31Z</dc:date>
    <item>
      <title>What query needed to return direct children of cm:cmobject?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/what-query-needed-to-return-direct-children-of-cm-cmobject/m-p/240234#M193364</link>
      <description>Greetings,I currently have a setup where my main object types in the repository for users are cm:folder and cm:content.&amp;nbsp; I eventually will have child nodes of these base objects for my system(e.g. cm:folder &amp;gt; cm:student_folder).&amp;nbsp; What would be the best way to search and return cm:folder and cm:co</description>
      <pubDate>Fri, 02 Oct 2009 19:24:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/what-query-needed-to-return-direct-children-of-cm-cmobject/m-p/240234#M193364</guid>
      <dc:creator>sgomez</dc:creator>
      <dc:date>2009-10-02T19:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: What query needed to return direct children of cm:cmobject?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/what-query-needed-to-return-direct-children-of-cm-cmobject/m-p/240235#M193365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;STRONG&gt;TYPE:"cm:cmobject" &lt;/STRONG&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Try using &lt;/SPAN&gt;&lt;STRONG&gt;TYPE:"cm:student_folder"&lt;/STRONG&gt;&lt;SPAN&gt;. That should do it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2009 17:32:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/what-query-needed-to-return-direct-children-of-cm-cmobject/m-p/240235#M193365</guid>
      <dc:creator>rliu</dc:creator>
      <dc:date>2009-10-07T17:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: What query needed to return direct children of cm:cmobject?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/what-query-needed-to-return-direct-children-of-cm-cmobject/m-p/240236#M193366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi rliu,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your reply.&amp;nbsp; Unfortunately, that is not what I am trying to accomplish.&amp;nbsp; When I do a query for that, it will return to me a list of all folders that are of type cm:student_folder.&amp;nbsp; What I am trying to accomplish is to find a query that will return to me a list of all types (cm:student_folder, cm:folder, 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;rof_folder, etc), though I am not sure if that's even possible…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to pass that list on to my web client into a dropdown menu that the user can choose from to do his/her search query.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2009 02:35:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/what-query-needed-to-return-direct-children-of-cm-cmobject/m-p/240236#M193366</guid>
      <dc:creator>sgomez</dc:creator>
      <dc:date>2009-10-09T02:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: What query needed to return direct children of cm:cmobject?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/what-query-needed-to-return-direct-children-of-cm-cmobject/m-p/240237#M193367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, no problem. Lucene syntax would require a "+", &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;+TYPE:"cm:student_folder"&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;The "+" means that it must be of this type (cm:student_folder) only. Not the parent or the child type of student folder as I originally thought you were searching for. But keep in mind, that if cm:student_folder is used anywhere in Alfresco, this Lucene search would return all nodes of cm:student_folder. If you have to localize your search to a specific path, then you want to provide that in your syntax as well. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2009 23:00:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/what-query-needed-to-return-direct-children-of-cm-cmobject/m-p/240237#M193367</guid>
      <dc:creator>rliu</dc:creator>
      <dc:date>2009-10-16T23:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: What query needed to return direct children of cm:cmobject?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/what-query-needed-to-return-direct-children-of-cm-cmobject/m-p/240238#M193368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi rliu,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again for your reply.&amp;nbsp; Hmm, I'm not quite sure if I understand your explanation.&amp;nbsp; From what I get, it seems we are not on the same page :?&amp;nbsp; My explanation isn't the best so I apologize.&amp;nbsp; Let me go into background what I am trying to accomplish and hope that will help.&amp;nbsp; Please take a look at the image at (&lt;/SPAN&gt;&lt;A href="http://www.imgur.com/TZVNL" rel="nofollow noopener noreferrer"&gt;http://www.imgur.com/TZVNL&lt;/A&gt;&lt;SPAN&gt;).&amp;nbsp; It should be an image of a dropdown menu containing "cm:folder", cm:adminfolder", etc.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What that is part of isan "Advanced Search" feature on my front end.&amp;nbsp; This advanced search UI will let the user choose what types of documents or folders to search/query for.&amp;nbsp; In this particular image, the drop down menu has a list of available folders to be used for the query (eg cm:folder will do a query TYPE:"cm:folder" while cm:studentfolder will search TYPE:"cm:studentfolder").&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As of right now, that list of folder types is hard coded into the dropdown menu.&amp;nbsp; What I would like to eventually do is be able to query alfresco and it will return that list of folder types back to my front end and populate the dropdown menu.&amp;nbsp; I would need these properties to be queryable because I plan to allow the user to also create new types, which would then need to be displayed in the dropdown menu after being created.&amp;nbsp; Would that be possible?&amp;nbsp; If it helps, I am using 3.1. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Again, much thanks for your reply, and I hope my explanation is a bit more clear.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2009 02:00:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/what-query-needed-to-return-direct-children-of-cm-cmobject/m-p/240238#M193368</guid>
      <dc:creator>sgomez</dc:creator>
      <dc:date>2009-10-20T02:00:07Z</dc:date>
    </item>
  </channel>
</rss>

