<?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: Nuxeo Data Table View and Filtering in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-data-table-view-and-filtering/m-p/487863#M15768</link>
    <description>&lt;P&gt;Yes "&lt;SPAN&gt;advanced_document_content" is &lt;A href="https://explorer.nuxeo.com/nuxeo/site/distribution/Nuxeo%20Platform-2023.26/viewContribution/org.nuxeo.ecm.document.pageproviders--providers" target="_self"&gt;an OOTB page provider&lt;/A&gt;. Yes you can override any OOTB page provider, whether via XML contrib or just creating a PP in Studio with the same ID (which is effectively the same thing, in the end it's an XML contrib). I'd recommend making a PP of your own though, it will have fewer side effects. The "advanced_document_content" PP is used throughout WebUI so you need to be careful&amp;nbsp; when modifying it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In general whenever I create a custom Folderish document type I will also create a matching page provider, as inevitably I will need to customize the viewing of its contents.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Mar 2025 18:37:57 GMT</pubDate>
    <dc:creator>Josh-F-Hyland</dc:creator>
    <dc:date>2025-03-10T18:37:57Z</dc:date>
    <item>
      <title>Nuxeo Data Table View and Filtering</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-data-table-view-and-filtering/m-p/487827#M15765</link>
      <description>&lt;DIV&gt;I have a folderish object called EmployeeData.&amp;nbsp; This contains multiple Employees which is basically a DocumentType.&amp;nbsp; Employees have properties such as EmployeeID, First Name, Last Name etc.&amp;nbsp; When I view the EmployeeData, I can see all the Employees.&amp;nbsp; For the EmployeeData content view, I want to be able to filter the data based on first name, last name etc.&lt;/DIV&gt;&lt;DIV&gt;None of the values I have typed in seem to work.&amp;nbsp; Can someone assist with the filter-by clause and what additional things I should be doing?&lt;/DIV&gt;&lt;DIV&gt;Here is the code fragment.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;lt;nuxeo-data-table-column name="First Name" id="FirstName" field="employee:FirstName" sort-by="employee:FirstName" filter-by="employee:FirstName"&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;template&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [[item.properties.employee:FirstName]]&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/template&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/nuxeo-data-table-column&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thank you ,&lt;/DIV&gt;&lt;DIV&gt;SG&lt;/DIV&gt;</description>
      <pubDate>Fri, 07 Mar 2025 18:54:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-data-table-view-and-filtering/m-p/487827#M15765</guid>
      <dc:creator>Sudarshan_Ghate</dc:creator>
      <dc:date>2025-03-07T18:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo Data Table View and Filtering</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-data-table-view-and-filtering/m-p/487861#M15766</link>
      <description>&lt;P&gt;"filter-by" needs to contain the id of the predicate or aggregate that you're using for the filtering (as defined in your page provider).&lt;/P&gt;&lt;P&gt;EDIT: There's an example in the source, can't find one in the doc unfortunately:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/nuxeo/nuxeo-ui-elements/blob/42b70790cc2d72355189f60ea6ce9cbff68e5d4e/nuxeo-data-table/iron-data-table.js#L67" target="_blank"&gt;https://github.com/nuxeo/nuxeo-ui-elements/blob/42b70790cc2d72355189f60ea6ce9cbff68e5d4e/nuxeo-data-table/iron-data-table.js#L67&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 18:01:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-data-table-view-and-filtering/m-p/487861#M15766</guid>
      <dc:creator>Josh-F-Hyland</dc:creator>
      <dc:date>2025-03-10T18:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo Data Table View and Filtering</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-data-table-view-and-filtering/m-p/487862#M15767</link>
      <description>&lt;P&gt;In the Studio Designer, it seems to be using&amp;nbsp;[[nxProvider]] but clearly this must be a build in PP because I cannot find the definition for it.&amp;nbsp; When I trace the traffic it seems to be calling the "advanced_document_content" .&amp;nbsp; Is there a way to customize it using the following in the XML Extensions of Nuxeo Studio?&lt;/P&gt;&lt;P&gt;&amp;lt;component name="org.nuxeo.ecm.document.pageproviders.override"&amp;gt;&lt;BR /&gt;&amp;lt;require&amp;gt;org.nuxeo.ecm.document.pageproviders&amp;lt;/require&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;extension target="org.nuxeo.ecm.platform.query.api.PageProviderService" point="providers"&amp;gt;&lt;BR /&gt;&amp;lt;coreQueryPageProvider name="advanced_document_content"&amp;gt;&lt;BR /&gt;&amp;lt;trackUsage&amp;gt;true&amp;lt;/trackUsage&amp;gt;&lt;BR /&gt;&amp;lt;property name="maxResults"&amp;gt;DEFAULT_NAVIGATION_RESULTS&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;whereClause docType="AdvancedContent"&amp;gt;&lt;BR /&gt;&amp;lt;fixedPart&amp;gt;&lt;BR /&gt;ecm:isVersion = 0 AND ecm:mixinType != 'HiddenInNavigation'&lt;BR /&gt;&amp;lt;/fixedPart&amp;gt;&lt;BR /&gt;&amp;lt;predicate operator="FULLTEXT" parameter="dc:title"&amp;gt;&lt;BR /&gt;&amp;lt;field name="title" schema="advanced_content"/&amp;gt;&lt;BR /&gt;&amp;lt;/predicate&amp;gt;&lt;BR /&gt;&amp;lt;predicate operator="=" parameter="ecm:parentId"&amp;gt;&lt;BR /&gt;&amp;lt;field name="ecm_parentId" schema="advanced_content"/&amp;gt;&lt;BR /&gt;&amp;lt;/predicate&amp;gt;&lt;BR /&gt;&amp;lt;predicate operator="=" parameter="ecm:isTrashed"&amp;gt;&lt;BR /&gt;&amp;lt;field name="ecm_trashed" schema="advanced_content"/&amp;gt;&lt;BR /&gt;&amp;lt;/predicate&amp;gt;&lt;BR /&gt;&amp;lt;predicate operator="STARTSWITH" parameter="employee:FirstName"&amp;gt;&lt;BR /&gt;&amp;lt;field name="FirstName" schema="advanced_content"/&amp;gt;&lt;BR /&gt;&amp;lt;/predicate&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;SG&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 18:11:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-data-table-view-and-filtering/m-p/487862#M15767</guid>
      <dc:creator>Sudarshan_Ghate</dc:creator>
      <dc:date>2025-03-10T18:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo Data Table View and Filtering</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-data-table-view-and-filtering/m-p/487863#M15768</link>
      <description>&lt;P&gt;Yes "&lt;SPAN&gt;advanced_document_content" is &lt;A href="https://explorer.nuxeo.com/nuxeo/site/distribution/Nuxeo%20Platform-2023.26/viewContribution/org.nuxeo.ecm.document.pageproviders--providers" target="_self"&gt;an OOTB page provider&lt;/A&gt;. Yes you can override any OOTB page provider, whether via XML contrib or just creating a PP in Studio with the same ID (which is effectively the same thing, in the end it's an XML contrib). I'd recommend making a PP of your own though, it will have fewer side effects. The "advanced_document_content" PP is used throughout WebUI so you need to be careful&amp;nbsp; when modifying it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In general whenever I create a custom Folderish document type I will also create a matching page provider, as inevitably I will need to customize the viewing of its contents.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 18:37:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-data-table-view-and-filtering/m-p/487863#M15768</guid>
      <dc:creator>Josh-F-Hyland</dc:creator>
      <dc:date>2025-03-10T18:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo Data Table View and Filtering</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-data-table-view-and-filtering/m-p/487866#M15771</link>
      <description>&lt;P&gt;Thank you.&amp;nbsp; So if the Folderish object is "Invoices", I should create a PP for it and use the PP in the View layout?&amp;nbsp;&lt;/P&gt;&lt;P&gt;The PP should specify the predicates and aggregates from contained objects?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;SG&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 18:31:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-data-table-view-and-filtering/m-p/487866#M15771</guid>
      <dc:creator>Sudarshan_Ghate</dc:creator>
      <dc:date>2025-03-10T18:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo Data Table View and Filtering</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-data-table-view-and-filtering/m-p/487867#M15772</link>
      <description>&lt;P&gt;Yes exactly.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 18:37:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-data-table-view-and-filtering/m-p/487867#M15772</guid>
      <dc:creator>Josh-F-Hyland</dc:creator>
      <dc:date>2025-03-10T18:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo Data Table View and Filtering</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-data-table-view-and-filtering/m-p/487895#M15773</link>
      <description>&lt;P&gt;Thank you.&amp;nbsp; In the NXQL query, how do I pass the current folders id?&amp;nbsp; Also I am trying to find documentation on how the following should be set.&amp;nbsp; Can you point me in the right direction?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sudarshan_Ghate_0-1741706044237.png" style="width: 400px;"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/11121iD6D7C4D2702125E8/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Sudarshan_Ghate_0-1741706044237.png" alt="Sudarshan_Ghate_0-1741706044237.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 15:14:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-data-table-view-and-filtering/m-p/487895#M15773</guid>
      <dc:creator>Sudarshan_Ghate</dc:creator>
      <dc:date>2025-03-11T15:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo Data Table View and Filtering</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-data-table-view-and-filtering/m-p/487899#M15774</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE&gt;&lt;a href="https://connect.hyland.com/t5/user/viewprofilepage/user-id/68489"&gt;@Sudarshan_Ghate&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Thank you.&amp;nbsp; In the NXQL query, how do I pass the current folders id?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Typically you add a predicate for system -&amp;gt; parentId (aka ecm:parentId) to the PP and then pass the value using the "params" attribute.&lt;SPAN&gt;&amp;nbsp;You may note that &lt;A href="https://github.com/nuxeo/nuxeo-web-ui/blob/455182d5db346a2d67805d71c1c8bdc675982e13/elements/nuxeo-results/nuxeo-document-content-behavior.js#L196" target="_self"&gt;Nuxeo.DocumentContentBehavior&lt;/A&gt;&amp;nbsp;hard-codes the predicate to "ecm_parentId" whereas Studio generates "&lt;/SPAN&gt;&lt;SPAN&gt;system_parentId&lt;/SPAN&gt;&lt;SPAN&gt;" so in that case, when using this behavior, you can override the "&lt;/SPAN&gt;&lt;SPAN&gt;_computeParams" function; just create a function named "_computeParams" in the View layout for your Invoices document type and adjust the params.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://connect.hyland.com/t5/user/viewprofilepage/user-id/68489"&gt;@Sudarshan_Ghate&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Also I am trying to find documentation on how the following should be set.&amp;nbsp; Can you point me in the right direction?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sudarshan_Ghate_0-1741706044237.png" style="width: 400px;"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/11121iD6D7C4D2702125E8/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Sudarshan_Ghate_0-1741706044237.png" alt="Sudarshan_Ghate_0-1741706044237.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;There shouldn't be any need to change "name". When you generate the View layout for a folderish document type, Studio generates the necessary code to manage "nxProvider". I.e. you just change the value of the "provider" attribute of the "nuxeo-page-provider" element:&lt;/P&gt;&lt;PRE&gt; &amp;lt;nuxeo-page-provider provider="my-cool-pp" ...&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 15:54:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-data-table-view-and-filtering/m-p/487899#M15774</guid>
      <dc:creator>Josh-F-Hyland</dc:creator>
      <dc:date>2025-03-11T15:54:59Z</dc:date>
    </item>
  </channel>
</rss>

