<?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: How to add custom type in search suggestion in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-add-custom-type-in-search-suggestion/m-p/116990#M32390</link>
    <description>&lt;P&gt;This blog post is still valid:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://bluefishgroup.com/insights/ecm/adding-metadata-fields-to-simple-search-and-live-search-with-alfresco-5/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://bluefishgroup.com/insights/ecm/adding-metadata-fields-to-simple-search-and-live-search-with-alfresco-5/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 11 Sep 2020 10:40:38 GMT</pubDate>
    <dc:creator>angelborroy</dc:creator>
    <dc:date>2020-09-11T10:40:38Z</dc:date>
    <item>
      <title>How to add custom type in search suggestion</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-add-custom-type-in-search-suggestion/m-p/116989#M32389</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am using Alfresco Community version 6. I want to ad custom type in live search suggestion.&lt;/P&gt;&lt;P&gt;How can i do that.&lt;/P&gt;&lt;P&gt;Thanks in Advance!&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2020 09:52:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-add-custom-type-in-search-suggestion/m-p/116989#M32389</guid>
      <dc:creator>rasika_g</dc:creator>
      <dc:date>2020-09-11T09:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to add custom type in search suggestion</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-add-custom-type-in-search-suggestion/m-p/116990#M32390</link>
      <description>&lt;P&gt;This blog post is still valid:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://bluefishgroup.com/insights/ecm/adding-metadata-fields-to-simple-search-and-live-search-with-alfresco-5/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://bluefishgroup.com/insights/ecm/adding-metadata-fields-to-simple-search-and-live-search-with-alfresco-5/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2020 10:40:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-add-custom-type-in-search-suggestion/m-p/116990#M32390</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2020-09-11T10:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to add custom type in search suggestion</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-add-custom-type-in-search-suggestion/m-p/116991#M32391</link>
      <description>&lt;P&gt;Hi thanks for rply but this is for adding extra information about the results. but in search i need to search a content or folder of my custom type. Currently it is searching only cm:content and cm:folder.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2020 11:14:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-add-custom-type-in-search-suggestion/m-p/116991#M32391</guid>
      <dc:creator>rasika_g</dc:creator>
      <dc:date>2020-09-11T11:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to add custom type in search suggestion</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-add-custom-type-in-search-suggestion/m-p/116992#M32392</link>
      <description>&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/81009"&gt;@rasika_g&lt;/A&gt;&amp;nbsp;From what i can understand, you want provide custom properties for live search. By default &lt;A href="https://github.com/Alfresco/share/blob/master/share-services/src/main/resources/alfresco/templates/webscripts/org/alfresco/slingshot/search/live-search-docs.get.config.xml" target="_blank" rel="noopener nofollow noreferrer"&gt;live search&lt;/A&gt; looks for keywords in "&lt;SPAN&gt;cm:name cm:title cm:description TEXT TAG&lt;/SPAN&gt;". If you have custom properties defined as part of custom types/aspects, then you can configure those as well.&lt;/P&gt;
&lt;P&gt;&lt;U&gt;You need to &lt;A title="webscript extension" href="https://docs.alfresco.com/5.2/references/dev-extension-points-webscripts.html" target="_blank" rel="noopener nofollow noreferrer"&gt;extend&lt;/A&gt; the live-search/search webscript, try this and see if it works for your use case. see the details here:&amp;nbsp;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/Alfresco/share/tree/master/share-services/src/main/resources/alfresco/templates/webscripts/org/alfresco/slingshot/search" target="_blank" rel="noopener nofollow noreferrer"&gt;https://github.com/Alfresco/share/tree/master/share-services/src/main/resources/alfresco/templates/webscripts/org/alfresco/slingshot/search&lt;/A&gt;&lt;/P&gt;
&lt;P data-unlink="true"&gt;Extend and update&amp;nbsp;&lt;A title="live-search-docs.get.config.xml" href="https://github.com/Alfresco/share/blob/master/share-services/src/main/resources/alfresco/templates/webscripts/org/alfresco/slingshot/search/live-search-docs.get.config.xml" target="_blank" rel="noopener nofollow noreferrer"&gt;live-search-docs.get.config.xml&lt;/A&gt; with your custom properties.&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;&lt;U&gt;Example:&lt;/U&gt;&lt;/P&gt;

&lt;PRE&gt;&amp;lt;search&amp;gt;
   &amp;lt;default-operator&amp;gt;AND&amp;lt;/default-operator&amp;gt;
   &amp;lt;default-query-template&amp;gt;%(cm:name cm:title cm:description TEXT TAG &lt;STRONG&gt;demo:publisher demo:author&lt;/STRONG&gt;)&amp;lt;/default-query-template&amp;gt;
&amp;lt;/search&amp;gt;&lt;/PRE&gt;


&lt;P data-unlink="true"&gt;Extend and update&amp;nbsp;&lt;A title="search.get.config.xml" href="https://github.com/Alfresco/share/blob/master/share-services/src/main/resources/alfresco/templates/webscripts/org/alfresco/slingshot/search/search.get.config.xml" target="_blank" rel="noopener nofollow noreferrer"&gt;search.get.config.xml&lt;/A&gt; with your custom properties.&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;&lt;U&gt;Example:&lt;/U&gt;&lt;/P&gt;
&lt;PRE&gt;&amp;lt;search&amp;gt;
   &amp;lt;default-operator&amp;gt;AND&amp;lt;/default-operator&amp;gt;
   &amp;lt;default-query-template&amp;gt;%(cm:name cm:title cm:description ia:whatEvent ia:descriptionEvent lnk:title lnk:description TEXT TAG &lt;STRONG&gt;demo:publisher demo:author&lt;/STRONG&gt;)&amp;lt;/default-query-template&amp;gt;
&amp;lt;/search&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 11 Sep 2020 14:44:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-add-custom-type-in-search-suggestion/m-p/116992#M32392</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2020-09-11T14:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to add custom type in search suggestion</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-add-custom-type-in-search-suggestion/m-p/116993#M32393</link>
      <description>&lt;P&gt;hi Thanks for replay but it is not working .&lt;/P&gt;&lt;P&gt;I also tried by using&amp;nbsp;&lt;A href="https://www.seedim.com.au/customising-alfresco-live-search/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.seedim.com.au/customising-alfresco-live-search/&lt;/A&gt;&amp;nbsp;this way but some how it is also not working is there any other way you know.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2020 15:48:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-add-custom-type-in-search-suggestion/m-p/116993#M32393</guid>
      <dc:creator>rasika_g</dc:creator>
      <dc:date>2020-09-11T15:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to add custom type in search suggestion</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-add-custom-type-in-search-suggestion/m-p/116994#M32394</link>
      <description>&lt;P&gt;I am not sure why it is not working for you. Steps are simple to do. Here is a sample project i just tried and it is working as expected.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://github.com/abhinavmishra14/search-extension-demo" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/abhinavmishra14/search-extension-demo&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I added a custom property &lt;A href="https://github.com/abhinavmishra14/search-extension-demo/blob/master/search-extension-demo-platform/src/main/resources/alfresco/module/search-extension-demo-platform/model/content-model.xml#L80" target="_blank" rel="noopener nofollow noreferrer"&gt;&lt;SPAN&gt;acme:copyrightYear&lt;/SPAN&gt;&lt;/A&gt; in content model&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Extended live-search and search, see here:&amp;nbsp;&lt;STRONG&gt;&lt;A href="https://github.com/abhinavmishra14/search-extension-demo/tree/master/search-extension-demo-platform/src/main/resources/alfresco/extension/templates/webscripts/org/alfresco/slingshot/search" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/abhinavmishra14/search-extension-demo/tree/master/search-extension-demo-platform/src/main/resources/alfresco/extension/templates/webscripts/org/alfresco/slingshot/search&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Added custom property and an additional ootb property in&amp;nbsp;&lt;A href="https://github.com/abhinavmishra14/search-extension-demo/blob/master/search-extension-demo-platform/src/main/resources/alfresco/extension/templates/webscripts/org/alfresco/slingshot/search/live-search-docs.get.config.xml" target="_blank" rel="noopener nofollow noreferrer"&gt;live-search-docs.get.config.xml&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A href="https://github.com/abhinavmishra14/search-extension-demo/blob/master/search-extension-demo-platform/src/main/resources/alfresco/extension/templates/webscripts/org/alfresco/slingshot/search/search.get.config.xml" target="_blank" rel="noopener nofollow noreferrer"&gt;search.get.config.xml&lt;/A&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;STRONG&gt;&lt;A href="https://github.com/abhinavmishra14/search-extension-demo/blob/master/search-extension-demo-platform/src/main/resources/alfresco/extension/templates/webscripts/org/alfresco/slingshot/search/live-search-docs.get.config.xml" target="_blank" rel="noopener nofollow noreferrer"&gt;live-search-docs.get.config.xml&lt;/A&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;search&amp;gt;
   &amp;lt;default-operator&amp;gt;AND&amp;lt;/default-operator&amp;gt;
   &amp;lt;default-query-template&amp;gt;%(cm:name cm:title cm:description &lt;STRONG&gt;cm:author&lt;/STRONG&gt; &lt;STRONG&gt;acme:copyrightYear&lt;/STRONG&gt; TEXT TAG)&amp;lt;/default-query-template&amp;gt;
&amp;lt;/search&amp;gt;

&lt;STRONG&gt;&lt;A href="https://github.com/abhinavmishra14/search-extension-demo/blob/master/search-extension-demo-platform/src/main/resources/alfresco/extension/templates/webscripts/org/alfresco/slingshot/search/search.get.config.xml" target="_blank" rel="noopener nofollow noreferrer"&gt;search.get.config.xml&lt;/A&gt;&lt;BR /&gt;
&lt;/STRONG&gt;&amp;lt;search&amp;gt;
   &amp;lt;default-operator&amp;gt;AND&amp;lt;/default-operator&amp;gt;
   &amp;lt;default-query-template&amp;gt;%(cm:name cm:title cm:description &lt;STRONG&gt;cm:author&lt;/STRONG&gt; ia:whatEvent ia:descriptionEvent lnk:title lnk:description &lt;STRONG&gt;acme:copyrightYear&lt;/STRONG&gt; TEXT TAG)&amp;lt;/default-query-template&amp;gt;
&amp;lt;/search&amp;gt;&lt;/PRE&gt;
&lt;P&gt;&lt;STRONG&gt;Results:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="acme:copyrightYear = 2020" style="width: 583px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/835i6B9E79E34D7913DD/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;acme:copyrightYear = 2020&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="acme:copyrightYear = 2020" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/837iF0A7155EADE9A290/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;acme:copyrightYear = 2020&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cm:author = Abhinav" style="width: 625px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/839i2BE9BEF267CC70C1/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;cm:author = Abhinav&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cm:author = Abhinav" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/840i3F807FAFD02CD6FD/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;cm:author = Abhinav&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;If your searches are still not working, try checking if documents are getting indexed and searchable&lt;/P&gt;</description>
      <pubDate>Sat, 12 Sep 2020 01:12:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-add-custom-type-in-search-suggestion/m-p/116994#M32394</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2020-09-12T01:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to add custom type in search suggestion</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-add-custom-type-in-search-suggestion/m-p/116995#M32395</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;You can add TYPE:customtype or ASPECT:customaspect in your live search.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.alfresco.com/4.0/tasks/rm-search-specialtypes.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/4.0/tasks/rm-search-specialtypes.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;--C.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Sep 2020 14:21:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-add-custom-type-in-search-suggestion/m-p/116995#M32395</guid>
      <dc:creator>cesarista</dc:creator>
      <dc:date>2020-09-13T14:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to add custom type in search suggestion</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-add-custom-type-in-search-suggestion/m-p/116996#M32396</link>
      <description>&lt;P&gt;Hi&amp;nbsp;all&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sorry for the very simple question. But I'm tryng to customize my search modifing&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;live-search-docs.get.config.xml&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;but it's not clear to me where I need to put the modified file. Just to be more clear:&lt;/P&gt;&lt;P&gt;Can I put the file somewhere in the tomcat folders or i need to make an amp project?&lt;/P&gt;&lt;P&gt;Thanks for any suggestion&lt;/P&gt;&lt;P&gt;Michele&lt;/P&gt;</description>
      <pubDate>Wed, 24 Mar 2021 11:20:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-add-custom-type-in-search-suggestion/m-p/116996#M32396</guid>
      <dc:creator>MicheleTerlizzi</dc:creator>
      <dc:date>2021-03-24T11:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to add custom type in search suggestion</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-add-custom-type-in-search-suggestion/m-p/116997#M32397</link>
      <description>&lt;P&gt;Its an webscript extension in platform project. It should be placed under for e.g.:&lt;/P&gt;

&lt;PRE&gt;&amp;lt;platform-module&amp;gt;/src/main/resources/alfresco/extension/templates/webscripts/org/alfresco/slingshot/search/live-search-docs.get.config.xml&lt;/PRE&gt;
&lt;P&gt;Check the example here:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/abhinavmishra14/search-extension-demo/blob/master/search-extension-demo-platform/src/main/resources/alfresco/extension/templates/webscripts/org/alfresco/slingshot/search/live-search-docs.get.config.xml" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/abhinavmishra14/search-extension-demo/blob/master/search-extension-demo-platform/src/main/resources/alfresco/extension/templates/webscripts/org/alfresco/slingshot/search/live-search-docs.get.config.xml&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Mar 2021 13:41:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-add-custom-type-in-search-suggestion/m-p/116997#M32397</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2021-03-24T13:41:41Z</dc:date>
    </item>
  </channel>
</rss>

