<?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: Advanced Search returns no results for custom properties in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/advanced-search-returns-no-results-for-custom-properties/m-p/266729#M219859</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Joseph,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That is actually the document I followed in order to apply my custom aspects to share. the only difference for me was that I placed the file in shared rather than under WEB-INF. I was originally told, in no uncertain terms, that one must not modify anything at all under the WEB-INF directory. Even the alfresco wiki says this &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Repository_Configuration#Introduction" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Repository_Configuration#Introduction&lt;/A&gt;&lt;SPAN&gt;. Everything else worked in the shared location (aspects can be applied by users, custom properties show up on items with custom aspects, can specialize to custom types, the fields for custom properties on the advanced search form), so I am not sure why this (advanced search) would not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In our installation there was no web-extension folder under share/WEB-INF/classes/alfresco, nevertheless, creating this folder and copying our share-config-custom.xml into it, then restarting, has not made any change to the issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I must admit I am now quite confused about the WEB-INF directory. All through the forums and wiki's I see references not to touch it, it seems unlikely one would need to go against this advice for a simple issue like searching on custom properties.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know the xml is valid (or at least, I know it validates successfully). Also the fact that all these other things are working from it suggests the xml is working. the params sent by the advanced search form seem to append "prop_" to the default properties and not my custom ones, so I am guessing this is part of the issue (Lothar Märkle's post on the same problem, &lt;/SPAN&gt;&lt;A href="https://forums.alfresco.com/en/viewtopic.php?f=48&amp;amp;t=44482" rel="nofollow noopener noreferrer"&gt;https://forums.alfresco.com/en/viewtopic.php?f=48&amp;amp;t=44482&lt;/A&gt;&lt;SPAN&gt;, alerted me to this). As the article by Jeff Potts would have been tested I am sure his steps worked at some point - does this mean I have missed a step or does it mean his steps are not compatible with the latest version of Alfresco? If the latter, does that mean the latest version has a bug causing it not to include the "prop_" prefix (I haven't found any in the tracker but my inexperience makes me wary to add one in case it is not actually a bug)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Issue solved - Lothar Märkle's post, &lt;/SPAN&gt;&lt;A href="https://forums.alfresco.com/en/viewtopic.php?f=48&amp;amp;t=44482" rel="nofollow noopener noreferrer"&gt;https://forums.alfresco.com/en/viewtopic.php?f=48&amp;amp;t=44482&lt;/A&gt;&lt;SPAN&gt; has resolved my issue - it is resolved by adding a custom form control template to add the prop_ prefix to the params for the custom properties to be searched.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 May 2012 01:20:05 GMT</pubDate>
    <dc:creator>chrisokelly</dc:creator>
    <dc:date>2012-05-14T01:20:05Z</dc:date>
    <item>
      <title>Advanced Search returns no results for custom properties</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/advanced-search-returns-no-results-for-custom-properties/m-p/266725#M219855</link>
      <description>Hi,I have created a custom content model and deployed it. It works fine in Share and Explorer in the sense that I can apply the types and aspects to content and set the properties. I also use fme's gallery plus dashlet, which I have modified slightly to allow me to filter photo's by aspect or proper</description>
      <pubDate>Thu, 03 May 2012 07:08:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/advanced-search-returns-no-results-for-custom-properties/m-p/266725#M219855</guid>
      <dc:creator>chrisokelly</dc:creator>
      <dc:date>2012-05-03T07:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Search returns no results for custom properties</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/advanced-search-returns-no-results-for-custom-properties/m-p/266726#M219856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ya, I was having the same experience few times when I was experimenting with shares,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem was with "share-config-custom.xml" file which we create at "tomcat/webapps/share/WEB-INF/classes/alfresco/web-extension/"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please recheck the file contents&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 May 2012 03:32:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/advanced-search-returns-no-results-for-custom-properties/m-p/266726#M219856</guid>
      <dc:creator>bisana</dc:creator>
      <dc:date>2012-05-06T03:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Search returns no results for custom properties</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/advanced-search-returns-no-results-for-custom-properties/m-p/266727#M219857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Ya, I was having the same experience few times when I was experimenting with shares,&lt;BR /&gt;The problem was with "share-config-custom.xml" file which we create at "tomcat/webapps/share/WEB-INF/classes/alfresco/web-extension/"&lt;BR /&gt;Please recheck the file contents&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Bisana,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This doesn't seem right to me, shouldn't share-config-custom.xml be in tomcat/shared/classes/alfresco/web-extension instead? I posted all of my share-config-custom in my original post, any thoughts as to specifically what is wrong with it? What was the problem you alluded to with yours?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2012 22:57:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/advanced-search-returns-no-results-for-custom-properties/m-p/266727#M219857</guid>
      <dc:creator>chrisokelly</dc:creator>
      <dc:date>2012-05-07T22:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Search returns no results for custom properties</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/advanced-search-returns-no-results-for-custom-properties/m-p/266728#M219858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;See this, one share-config-custom.xml file is there by default, the other one we create&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;[alfresco@r12docs tomcat]$ find -name "share-config-custom.xml" -print&lt;BR /&gt;./webapps/share/WEB-INF/classes/alfresco/web-extension/share-config-custom.xml&lt;BR /&gt;./shared/classes/alfresco/web-extension/share-config-custom.xml&lt;BR /&gt;[alfresco@r12docs tomcat]$ &lt;BR /&gt;&lt;BR /&gt;&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;You have posted the default one,&amp;nbsp; you need to create another in "tomcat/webapps/share/WEB-INF/classes/alfresco/web-extension"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I did land up in lots of problems, 50% of time was XML tag problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The document from &lt;/SPAN&gt;&lt;A href="http://ecmarchitect.com/images/articles/alfresco-content/content-article-2ed.pdf" rel="nofollow noopener noreferrer"&gt;http://ecmarchitect.com/images/articles/alfresco-content/content-article-2ed.pdf&lt;/A&gt;&lt;SPAN&gt; was&amp;nbsp; very helpful, I advice you to go through it, very helpful to clear the doubts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Joseph John&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Note:- If my postings is useful, please rate me using the , rate post incon on the Right hand side&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2012 07:15:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/advanced-search-returns-no-results-for-custom-properties/m-p/266728#M219858</guid>
      <dc:creator>bisana</dc:creator>
      <dc:date>2012-05-08T07:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Search returns no results for custom properties</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/advanced-search-returns-no-results-for-custom-properties/m-p/266729#M219859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Joseph,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That is actually the document I followed in order to apply my custom aspects to share. the only difference for me was that I placed the file in shared rather than under WEB-INF. I was originally told, in no uncertain terms, that one must not modify anything at all under the WEB-INF directory. Even the alfresco wiki says this &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Repository_Configuration#Introduction" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Repository_Configuration#Introduction&lt;/A&gt;&lt;SPAN&gt;. Everything else worked in the shared location (aspects can be applied by users, custom properties show up on items with custom aspects, can specialize to custom types, the fields for custom properties on the advanced search form), so I am not sure why this (advanced search) would not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In our installation there was no web-extension folder under share/WEB-INF/classes/alfresco, nevertheless, creating this folder and copying our share-config-custom.xml into it, then restarting, has not made any change to the issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I must admit I am now quite confused about the WEB-INF directory. All through the forums and wiki's I see references not to touch it, it seems unlikely one would need to go against this advice for a simple issue like searching on custom properties.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know the xml is valid (or at least, I know it validates successfully). Also the fact that all these other things are working from it suggests the xml is working. the params sent by the advanced search form seem to append "prop_" to the default properties and not my custom ones, so I am guessing this is part of the issue (Lothar Märkle's post on the same problem, &lt;/SPAN&gt;&lt;A href="https://forums.alfresco.com/en/viewtopic.php?f=48&amp;amp;t=44482" rel="nofollow noopener noreferrer"&gt;https://forums.alfresco.com/en/viewtopic.php?f=48&amp;amp;t=44482&lt;/A&gt;&lt;SPAN&gt;, alerted me to this). As the article by Jeff Potts would have been tested I am sure his steps worked at some point - does this mean I have missed a step or does it mean his steps are not compatible with the latest version of Alfresco? If the latter, does that mean the latest version has a bug causing it not to include the "prop_" prefix (I haven't found any in the tracker but my inexperience makes me wary to add one in case it is not actually a bug)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Issue solved - Lothar Märkle's post, &lt;/SPAN&gt;&lt;A href="https://forums.alfresco.com/en/viewtopic.php?f=48&amp;amp;t=44482" rel="nofollow noopener noreferrer"&gt;https://forums.alfresco.com/en/viewtopic.php?f=48&amp;amp;t=44482&lt;/A&gt;&lt;SPAN&gt; has resolved my issue - it is resolved by adding a custom form control template to add the prop_ prefix to the params for the custom properties to be searched.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 01:20:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/advanced-search-returns-no-results-for-custom-properties/m-p/266729#M219859</guid>
      <dc:creator>chrisokelly</dc:creator>
      <dc:date>2012-05-14T01:20:05Z</dc:date>
    </item>
  </channel>
</rss>

