<?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 NXQL query for DAM-Custom Search in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/nxql-query-for-dam-custom-search/m-p/317752#M4753</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I need to set up the DAM module so that some assets can be limited to certain groups or campuses.&lt;/P&gt;
&lt;P&gt;I've set up Folders for each Campus in the Asset Library.  These show up fine in the DM; but I want to see them in the DAM.&lt;/P&gt;
&lt;P&gt;I'm using the Nuxeo DAM default [BETA] 1.2.0 (cap-5.7.1) Application Template in Studio.&lt;/P&gt;
&lt;P&gt;under
Project &amp;gt; Listing &amp;amp; Views &amp;gt; Content Views &amp;gt; DAM-Custom Search &amp;gt; Query &amp;amp; Form &amp;gt; Query filter&lt;/P&gt;
&lt;P&gt;It starts out like this:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;PRE&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;ecm:mixinType != 'HiddenInNavigation' AND ecm:isCheckedInVersion = 0 AND ecm:currentLifeCycleState != 'deleted' and ecm:mixinType = 'Asset'&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;
I changed it to 

&amp;gt;```
ecm:mixinType != 'HiddenInNavigation' AND ecm:isCheckedInVersion = 0 AND ecm:currentLifeCycleState != 'deleted' 
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and then I see the Folders that I &lt;EM&gt;do&lt;/EM&gt; want and all kinds of stuff I don't want (users, workspaces, etc.)&lt;/P&gt;
&lt;P&gt;so I changed it to&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;PRE&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;ecm:mixinType != 'HiddenInNavigation' AND ecm:isCheckedInVersion = 0 AND ecm:currentLifeCycleState != 'deleted' AND ( ecm:mixinType = 'Asset' OR ecm:mixinType = 'Folder' )&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;
but then I just see the same as the first Query Filter (just a test object, and the folders don't show up).

What is the proper query to show Assets and Folders?
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 07 Aug 2013 04:10:28 GMT</pubDate>
    <dc:creator>Brian_T</dc:creator>
    <dc:date>2013-08-07T04:10:28Z</dc:date>
    <item>
      <title>NXQL query for DAM-Custom Search</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nxql-query-for-dam-custom-search/m-p/317752#M4753</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I need to set up the DAM module so that some assets can be limited to certain groups or campuses.&lt;/P&gt;
&lt;P&gt;I've set up Folders for each Campus in the Asset Library.  These show up fine in the DM; but I want to see them in the DAM.&lt;/P&gt;
&lt;P&gt;I'm using the Nuxeo DAM default [BETA] 1.2.0 (cap-5.7.1) Application Template in Studio.&lt;/P&gt;
&lt;P&gt;under
Project &amp;gt; Listing &amp;amp; Views &amp;gt; Content Views &amp;gt; DAM-Custom Search &amp;gt; Query &amp;amp; Form &amp;gt; Query filter&lt;/P&gt;
&lt;P&gt;It starts out like this:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;PRE&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;ecm:mixinType != 'HiddenInNavigation' AND ecm:isCheckedInVersion = 0 AND ecm:currentLifeCycleState != 'deleted' and ecm:mixinType = 'Asset'&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;
I changed it to 

&amp;gt;```
ecm:mixinType != 'HiddenInNavigation' AND ecm:isCheckedInVersion = 0 AND ecm:currentLifeCycleState != 'deleted' 
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and then I see the Folders that I &lt;EM&gt;do&lt;/EM&gt; want and all kinds of stuff I don't want (users, workspaces, etc.)&lt;/P&gt;
&lt;P&gt;so I changed it to&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;PRE&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;ecm:mixinType != 'HiddenInNavigation' AND ecm:isCheckedInVersion = 0 AND ecm:currentLifeCycleState != 'deleted' AND ( ecm:mixinType = 'Asset' OR ecm:mixinType = 'Folder' )&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;
but then I just see the same as the first Query Filter (just a test object, and the folders don't show up).

What is the proper query to show Assets and Folders?
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 07 Aug 2013 04:10:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nxql-query-for-dam-custom-search/m-p/317752#M4753</guid>
      <dc:creator>Brian_T</dc:creator>
      <dc:date>2013-08-07T04:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: NXQL query for DAM-Custom Search</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nxql-query-for-dam-custom-search/m-p/317753#M4754</link>
      <description>&lt;P&gt;mixinType refers to document facets, so the correct NXQL phrase is:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;ecm:mixinType = 'Folderish'
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If you want to pickup only Folder document types then the NXQL phrase is:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;ecm:primaryType = 'Folder'
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Asset works in ecm:mixinType = 'Asset' because in this case Asset is a facet that can be applied to any document type&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2013 04:50:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nxql-query-for-dam-custom-search/m-p/317753#M4754</guid>
      <dc:creator>bruce_Grant</dc:creator>
      <dc:date>2013-08-07T04:50:55Z</dc:date>
    </item>
  </channel>
</rss>

