<?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 How to dynamically rerun a Content View query? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-dynamically-rerun-a-content-view-query/m-p/322667#M9668</link>
    <description>&lt;P&gt;I have a content view with the following query&lt;/P&gt;
&lt;P&gt;ecm:mixinType != 'HiddenInNavigation' AND ecm:isCheckedInVersion = 0 AND ecm:currentLifeCycleState != 'deleted' and ecm:parentId=? AND ecm:primaryType =?&lt;/P&gt;
&lt;P&gt;and  as query parameters&lt;/P&gt;
&lt;P&gt;#{currentDocument.id}&lt;/P&gt;
&lt;P&gt;#{currentDocument.currentLifeCycleState}&lt;/P&gt;
&lt;P&gt;I idea is to reveal documents that are in the parent folder based on the lifecycle state of the parent. Yeah, I know the document types (strings in this case) contained in the parent have to match the lifecyclestate. I have them matched in the lifecycles and document creations.&lt;/P&gt;
&lt;P&gt;It all seems to work, however, I can't determine how to "prod" the database to re-run the query with the new values.&lt;/P&gt;
&lt;P&gt;Logout/login works but is unacceptable, also changing to a different root works but is also unacceptable.&lt;/P&gt;
&lt;P&gt;I've tried a reset action  based on the a lifecycle change event for the container resetting the container parent and  it's children but that doesn't seem to do anything?&lt;/P&gt;
&lt;P&gt;Any ideas?&lt;/P&gt;</description>
    <pubDate>Wed, 14 Mar 2012 18:16:46 GMT</pubDate>
    <dc:creator>karl_harris_</dc:creator>
    <dc:date>2012-03-14T18:16:46Z</dc:date>
    <item>
      <title>How to dynamically rerun a Content View query?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-dynamically-rerun-a-content-view-query/m-p/322667#M9668</link>
      <description>&lt;P&gt;I have a content view with the following query&lt;/P&gt;
&lt;P&gt;ecm:mixinType != 'HiddenInNavigation' AND ecm:isCheckedInVersion = 0 AND ecm:currentLifeCycleState != 'deleted' and ecm:parentId=? AND ecm:primaryType =?&lt;/P&gt;
&lt;P&gt;and  as query parameters&lt;/P&gt;
&lt;P&gt;#{currentDocument.id}&lt;/P&gt;
&lt;P&gt;#{currentDocument.currentLifeCycleState}&lt;/P&gt;
&lt;P&gt;I idea is to reveal documents that are in the parent folder based on the lifecycle state of the parent. Yeah, I know the document types (strings in this case) contained in the parent have to match the lifecyclestate. I have them matched in the lifecycles and document creations.&lt;/P&gt;
&lt;P&gt;It all seems to work, however, I can't determine how to "prod" the database to re-run the query with the new values.&lt;/P&gt;
&lt;P&gt;Logout/login works but is unacceptable, also changing to a different root works but is also unacceptable.&lt;/P&gt;
&lt;P&gt;I've tried a reset action  based on the a lifecycle change event for the container resetting the container parent and  it's children but that doesn't seem to do anything?&lt;/P&gt;
&lt;P&gt;Any ideas?&lt;/P&gt;</description>
      <pubDate>Wed, 14 Mar 2012 18:16:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-dynamically-rerun-a-content-view-query/m-p/322667#M9668</guid>
      <dc:creator>karl_harris_</dc:creator>
      <dc:date>2012-03-14T18:16:46Z</dc:date>
    </item>
  </channel>
</rss>

