<?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 result customization in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/search-result-customization/m-p/305307#M258437</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, you could do that. Search results are drawn by a YUI datatable. Check out the file &amp;lt;ROOT&amp;gt;/share/components/search/search.js. There is a datatable instantiation there, look for &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;var columnDefinitions&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;. It's an array of two columns that draw search results - one for an icon, another for data. There are also two functions just above it that render the individual cells.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would add a third column, something like &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;{key: "nodeRef", label: "Select", formatter: YAHOO.widget.DataTable.formatCheckbox}&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Or set a custom formatter there ,and add some behavior to it, an action click or whatever you need.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 May 2013 05:19:03 GMT</pubDate>
    <dc:creator>zladuric</dc:creator>
    <dc:date>2013-05-02T05:19:03Z</dc:date>
    <item>
      <title>search result customization</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-result-customization/m-p/305306#M258436</link>
      <description>Hi Guys,Is it possible to bring up check-boxes next to each search result and Doc lib action menu in the search result page of alfresco.If yes then how do i do it?Thank u in advance…!!</description>
      <pubDate>Thu, 02 May 2013 00:21:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-result-customization/m-p/305306#M258436</guid>
      <dc:creator>alfdeveloper1</dc:creator>
      <dc:date>2013-05-02T00:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: search result customization</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-result-customization/m-p/305307#M258437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, you could do that. Search results are drawn by a YUI datatable. Check out the file &amp;lt;ROOT&amp;gt;/share/components/search/search.js. There is a datatable instantiation there, look for &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;var columnDefinitions&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;. It's an array of two columns that draw search results - one for an icon, another for data. There are also two functions just above it that render the individual cells.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would add a third column, something like &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;{key: "nodeRef", label: "Select", formatter: YAHOO.widget.DataTable.formatCheckbox}&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Or set a custom formatter there ,and add some behavior to it, an action click or whatever you need.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 05:19:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-result-customization/m-p/305307#M258437</guid>
      <dc:creator>zladuric</dc:creator>
      <dc:date>2013-05-02T05:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: search result customization</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-result-customization/m-p/305308#M258438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thank u!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 00:30:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-result-customization/m-p/305308#M258438</guid>
      <dc:creator>alfdeveloper1</dc:creator>
      <dc:date>2013-05-07T00:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: search result customization</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-result-customization/m-p/305309#M258439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;but what about doc lib action menu "Selected Item menu"!?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 00:35:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-result-customization/m-p/305309#M258439</guid>
      <dc:creator>alfdeveloper1</dc:creator>
      <dc:date>2013-05-07T00:35:20Z</dc:date>
    </item>
  </channel>
</rss>

