<?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: Filter showing nodes with missing mandatory properties in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/filter-showing-nodes-with-missing-mandatory-properties/m-p/272411#M225541</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;A missing mandatory property should not be possible.&amp;nbsp;&amp;nbsp;&amp;nbsp; If the data model specifies the field as mandatory then a value must be specified.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;True, but if you have a custom type, and convert cm:content to that type, and forget to visit edit metadata page, you have document with mandatory properties not set. And those are the ones you want to find. Especially if you enable setting the document type in the upload dialog, and upload many documents at the same time.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Sep 2011 11:09:08 GMT</pubDate>
    <dc:creator>loftux</dc:creator>
    <dc:date>2011-09-15T11:09:08Z</dc:date>
    <item>
      <title>Filter showing nodes with missing mandatory properties</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/filter-showing-nodes-with-missing-mandatory-properties/m-p/272408#M225538</link>
      <description>I need to develop a new Share filter for the Document library. My intention is that the filter will show all nodes in a site with missing values for mandatory properties. Is it possible to ask Lucene for nodes with missing mandatory values in any way? If thats not possible my only idea is to use the</description>
      <pubDate>Thu, 15 Sep 2011 09:47:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/filter-showing-nodes-with-missing-mandatory-properties/m-p/272408#M225538</guid>
      <dc:creator>billerby</dc:creator>
      <dc:date>2011-09-15T09:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: Filter showing nodes with missing mandatory properties</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/filter-showing-nodes-with-missing-mandatory-properties/m-p/272409#M225539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;in filter.lib.js&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case "incomplete":&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; filterQuery = "+PATH:\"" + parsedArgs.rootNode.qnamePath + "//*\"";&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; filterQuery += " AND (ISUNSET:\"{&lt;A href="http://www.example.com/model/content/1.0}agreementNumber\" rel="nofollow noopener noreferrer"&gt;http://www.example.com/model/content/1.0}agreementNumber\&lt;/A&gt;"";&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; filterQuery += " ISUNSET:\"{&lt;A href="http://www.example.com/model/content/1.0}myCompany\" rel="nofollow noopener noreferrer"&gt;http://www.example.com/model/content/1.0}myCompany\&lt;/A&gt;"";&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; filterQuery += " ISUNSET:\"{&lt;A href="http://www.example.com/model/content/1.0}party\" rel="nofollow noopener noreferrer"&gt;http://www.example.com/model/content/1.0}party\&lt;/A&gt;"";&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; filterQuery += " ISUNSET:\"{&lt;A href="http://www.example.com/model/content/1.0}expirationDate\" rel="nofollow noopener noreferrer"&gt;http://www.example.com/model/content/1.0}expirationDate\&lt;/A&gt;"";&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; filterQuery += " ISUNSET:\"{&lt;A href="http://www.example.com/model/content/1.0}noticeTime\" rel="nofollow noopener noreferrer"&gt;http://www.example.com/model/content/1.0}noticeTime\&lt;/A&gt;"";&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; filterQuery += ") "&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;More to find here &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Full_Text_Search_Query_Syntax#Fields" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Full_Text_Search_Query_Syntax#Fields&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;You probably just have to query a one of the properties if it is unset if they are on the same form, since you get an all or nothing situation.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 09:53:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/filter-showing-nodes-with-missing-mandatory-properties/m-p/272409#M225539</guid>
      <dc:creator>loftux</dc:creator>
      <dc:date>2011-09-15T09:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Filter showing nodes with missing mandatory properties</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/filter-showing-nodes-with-missing-mandatory-properties/m-p/272410#M225540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A missing mandatory property should not be possible.&amp;nbsp;&amp;nbsp;&amp;nbsp; If the data model specifies the field as mandatory then a value must be specified.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 10:55:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/filter-showing-nodes-with-missing-mandatory-properties/m-p/272410#M225540</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2011-09-15T10:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Filter showing nodes with missing mandatory properties</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/filter-showing-nodes-with-missing-mandatory-properties/m-p/272411#M225541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;A missing mandatory property should not be possible.&amp;nbsp;&amp;nbsp;&amp;nbsp; If the data model specifies the field as mandatory then a value must be specified.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;True, but if you have a custom type, and convert cm:content to that type, and forget to visit edit metadata page, you have document with mandatory properties not set. And those are the ones you want to find. Especially if you enable setting the document type in the upload dialog, and upload many documents at the same time.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 11:09:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/filter-showing-nodes-with-missing-mandatory-properties/m-p/272411#M225541</guid>
      <dc:creator>loftux</dc:creator>
      <dc:date>2011-09-15T11:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Filter showing nodes with missing mandatory properties</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/filter-showing-nodes-with-missing-mandatory-properties/m-p/272412#M225542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have another idea that seems more general. It seems like Alfresco applies the aspect sys:incomplete on a node whenever the node have unset mandatory properties. Then it should be possible to filter out all nodes in a site with this aspect set?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This way I do not have to update my filter every time a new mandatory property is added in my data definitions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/Erik&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2011 12:03:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/filter-showing-nodes-with-missing-mandatory-properties/m-p/272412#M225542</guid>
      <dc:creator>billerby</dc:creator>
      <dc:date>2011-09-27T12:03:19Z</dc:date>
    </item>
  </channel>
</rss>

