<?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: Search on custom property not returning results in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/search-on-custom-property-not-returning-results/m-p/288582#M241712</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Anshu, I'm not using the Alfresco UI, so the webscript template configuration does not apply in my case. I'm interacting with Alfresco NodeService, FileFolderService, and SearchService programmatically, i.e. Java-only through the SDK.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Jan 2014 22:56:55 GMT</pubDate>
    <dc:creator>heisenberg</dc:creator>
    <dc:date>2014-01-13T22:56:55Z</dc:date>
    <item>
      <title>Search on custom property not returning results</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-on-custom-property-not-returning-results/m-p/288580#M241710</link>
      <description>I had modified the stock contentModel.xml by adding a custom property "mycustomprop1" to cm:content as follows:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;type name="cm:content"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;title&amp;gt;Content&amp;lt;/title&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;parent&amp;gt;cm:cmobject&amp;lt;/parent&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;archive&amp;gt;true&amp;lt;/archive&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;prope</description>
      <pubDate>Thu, 09 Jan 2014 01:08:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-on-custom-property-not-returning-results/m-p/288580#M241710</guid>
      <dc:creator>heisenberg</dc:creator>
      <dc:date>2014-01-09T01:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Search on custom property not returning results</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-on-custom-property-not-returning-results/m-p/288581#M241711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Heisenberg,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For that, you will have to mention the name of your custom property, i.e "cm:mycustomprop1" in 'search.get.config.xml'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The mentioned file can be found under file path&amp;nbsp; {server_path}\webapps\alfresco\WEB-INF\classes\alfresco\templates\webscripts\org\alfresco\slingshot\search\search.get.config.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In this file, you will see set of properties which are used for searching.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2014 08:04:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-on-custom-property-not-returning-results/m-p/288581#M241711</guid>
      <dc:creator>anshu_kumar</dc:creator>
      <dc:date>2014-01-09T08:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Search on custom property not returning results</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-on-custom-property-not-returning-results/m-p/288582#M241712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Anshu, I'm not using the Alfresco UI, so the webscript template configuration does not apply in my case. I'm interacting with Alfresco NodeService, FileFolderService, and SearchService programmatically, i.e. Java-only through the SDK.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2014 22:56:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-on-custom-property-not-returning-results/m-p/288582#M241712</guid>
      <dc:creator>heisenberg</dc:creator>
      <dc:date>2014-01-13T22:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: Search on custom property not returning results</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-on-custom-property-not-returning-results/m-p/288583#M241713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Heisenberg (or I have to call you Walter White? &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;First of all you have to know that modifing the out of the box contentModel is not a good practice, it's better to use a custom aspect.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However,assuming you know what are you doing, you can try doing a full reindex because of the existing system nodes still apply the old model.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you tried to query a standard property like cm:name? Does it work?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Looking at the node browser you can see your property with the correct type and the correct value?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Daniele&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2014 08:49:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-on-custom-property-not-returning-results/m-p/288583#M241713</guid>
      <dc:creator>castgroupteam</dc:creator>
      <dc:date>2014-01-17T08:49:00Z</dc:date>
    </item>
  </channel>
</rss>

