Andrew Turley
Nov 30, 2009
  5287
(2 votes)

EasySearch Search Gadget

This gadget allows editors to view lists of pages based on queries. This enables them to track what has changed based on their interests and job role. This gadget uses EasySearch to perform a search on the site. Results are updated automatically based on a configurable time interval and the dashboard can contain many instances of the gadget, each one with a different query.

Install EasySearch

To setup the gadget, first download and install EasySearch. The latest release is v2.5 and is an excellent opportunity to test EasySearch if you haven’t done so before!

After downloading and unzipping EasySearch, contained within is an install zip that is installed using the EPiServer Deployment Center.

1installES 

You may need to add assembly binding if you haven’t configured your site already. If not this is what I have been using until assemblies start being compiled for CMS 6

<runtime>
    <assemblyBinding>
      <dependentAssembly />
    </assemblyBinding>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Data"
                          publicKeyToken="8fe83dea738b45b7"
                          culture="neutral" />
        <bindingRedirect oldVersion="1.0.0.0-1.65535.65535.65535"
                         newVersion="1.0.238.39" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Shell"
                          publicKeyToken="8fe83dea738b45b7"
                          culture="neutral" />
        <bindingRedirect oldVersion="1.0.0.0-1.65535.65535.65535"
                         newVersion="1.0.238.39" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Shell.UI"
                          publicKeyToken="8fe83dea738b45b7"
                          culture="neutral" />
        <bindingRedirect oldVersion="1.0.0.0-1.65535.65535.65535"
                         newVersion="1.0.238.39" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.ComponentModel.Composition"
                          publicKeyToken="8fe83dea738b45b7"
                          culture="neutral" />
        <bindingRedirect oldVersion="2009.0.0.0-2009.65535.65535.65535"
                         newVersion="2009.26.8.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Web.Mvc"
                          publicKeyToken="31bf3856ad364e35"
                          culture="neutral" />
        <bindingRedirect oldVersion="1.0.0.0-1.65535.65535.65535"
                         newVersion="1.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="ElektroPost.Licensing"
                          publicKeyToken="8fe83dea738b45b7"
                          culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-6.65535.65535.65535"
                         newVersion="6.0.382.1" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.BaseLibrary"
                          publicKeyToken="8fe83dea738b45b7"
                          culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-6.65535.65535.65535"
                         newVersion="6.0.382.1" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Blog"
                          publicKeyToken="8fe83dea738b45b7"
                          culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-6.65535.65535.65535"
                         newVersion="6.0.382.1" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Cms.Shell"
                          publicKeyToken="8fe83dea738b45b7"
                          culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-6.65535.65535.65535"
                         newVersion="6.0.382.1" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Cms.Shell.UI"
                          publicKeyToken="8fe83dea738b45b7"
                          culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-6.65535.65535.65535"
                         newVersion="6.0.382.1" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Configuration"
                          publicKeyToken="8fe83dea738b45b7"
                          culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-6.65535.65535.65535"
                         newVersion="6.0.382.1" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer"
                          publicKeyToken="8fe83dea738b45b7"
                          culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-6.65535.65535.65535"
                         newVersion="6.0.382.1" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Enterprise"
                          publicKeyToken="8fe83dea738b45b7"
                          culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-6.65535.65535.65535"
                         newVersion="6.0.382.1" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Events"
                          publicKeyToken="8fe83dea738b45b7"
                          culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-6.65535.65535.65535"
                         newVersion="6.0.382.1" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.ImageLibrary"
                          publicKeyToken="8fe83dea738b45b7"
                          culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-6.65535.65535.65535"
                         newVersion="6.0.382.1" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Implementation"
                          publicKeyToken="8fe83dea738b45b7"
                          culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-6.65535.65535.65535"
                         newVersion="6.0.382.1" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Legacy4"
                          publicKeyToken="8fe83dea738b45b7"
                          culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-6.65535.65535.65535"
                         newVersion="6.0.382.1" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.LinkAnalyzer"
                          publicKeyToken="8fe83dea738b45b7"
                          culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-6.65535.65535.65535"
                         newVersion="6.0.382.1" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Log.Analyzers"
                          publicKeyToken="8fe83dea738b45b7"
                          culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-6.65535.65535.65535"
                         newVersion="6.0.382.1" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Log.Core"
                          publicKeyToken="8fe83dea738b45b7"
                          culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-6.65535.65535.65535"
                         newVersion="6.0.382.1" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Lucene"
                          publicKeyToken="8fe83dea738b45b7"
                          culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-6.65535.65535.65535"
                         newVersion="6.0.382.1" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Scheduler"
                          publicKeyToken="8fe83dea738b45b7"
                          culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-6.65535.65535.65535"
                         newVersion="6.0.382.1" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Scheduler.WKTL"
                          publicKeyToken="8fe83dea738b45b7"
                          culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-5.65535.65535.65535"
                         newVersion="5.1.422.4" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.UI"
                          publicKeyToken="8fe83dea738b45b7"
                          culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-6.65535.65535.65535"
                         newVersion="6.0.382.1" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Web.WebControls"
                          publicKeyToken="8fe83dea738b45b7"
                          culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-6.65535.65535.65535"
                         newVersion="6.0.382.1" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.WebDav"
                          publicKeyToken="8fe83dea738b45b7"
                          culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-6.65535.65535.65535"
                         newVersion="6.0.382.1" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.WebParts"
                          publicKeyToken="8fe83dea738b45b7"
                          culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-6.65535.65535.65535"
                         newVersion="6.0.382.1" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.WorkflowFoundation"
                          publicKeyToken="8fe83dea738b45b7"
                          culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-6.65535.65535.65535"
                         newVersion="6.0.382.1" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.XForms"
                          publicKeyToken="8fe83dea738b45b7"
                          culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-6.65535.65535.65535"
                         newVersion="6.0.382.1" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.XmlRpc"
                          publicKeyToken="8fe83dea738b45b7"
                          culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-6.65535.65535.65535"
                         newVersion="6.0.382.1" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="log4net"
                          publicKeyToken="1b44e1d426115821"
                          culture="neutral" />
        <bindingRedirect oldVersion="1.0.0.0-1.65535.65535.65535"
                         newVersion="1.2.10.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Microsoft.Web.Services3"
                          publicKeyToken="31bf3856ad364e35"
                          culture="neutral" />
        <bindingRedirect oldVersion="3.0.0.0-3.65535.65535.65535"
                         newVersion="3.0.0.0" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>

Index Site

After installing EasySearch, index your site from the EasySearch Index Management panel under Admin Tools.

2admin

The gadget is now ready to be installed!

Install EasySearch Gadget

The gadget is installed using the EPiServer Deployment Centre from the EasySearchGadgetInstall.zip. After running the installer you should now have the gadget installed and ready for use. Add the ‘EasySearch’ gadget from the CMS Dashboard.

Configure EasySearch Gadget

The gadget is configured on first use to perform a search query at regular intervals.

Enter a search term and select the language to search in.

3ESgadget

You can set the maximum number of hits to return and also the search refresh interval in minutes.

Click Ok and the results will be displayed.

4ESgadgetresults

The results can be clicked on to Edit the page or click View  to see the page in another window. You can add multiple instances of the gadget to perform more than one search at a time.

EasySearchGadgetInstall.zip

EasySearchGadgetSource.zip

Nov 30, 2009

Comments

Please login to comment.
Latest blogs
Plug-in manager is back in CMS 12

Plug-in manager is back in the UI, what is it and how can i use it?

Luc Gosso (MVP) | Oct 6, 2022 | Syndicated blog

Display Child Pages in Content Delivery API Response

The below example will implement an instance of IContentConverterProvider to customise the serialisation of PageData and output child pages in the...

Minesh Shah (Netcel) | Oct 4, 2022

Bring the Report Center back in Optimizely CMS 12

The Report Center has been a part of Optimizely CMS since its first debut in version 5R2 in 2008, but in CMS 12, it's removed! Don't despair! Make...

Tomas Hensrud Gulla | Oct 4, 2022 | Syndicated blog

Customizing Property Lists in Optimizely CMS

Generic property lists is a cool editorial feature that has gained a lot of popularity - in spite of still being unsupported (officially). But if y...

Allan Thraen | Oct 2, 2022 | Syndicated blog

Optimizely names Luminary Senior Developer, Ynze Nunnink, OMVP

Luminary Senior Developer and Optimizely Lead, Ynze Nunnink has secured the coveted position of Optimizely MVP. Earning a Platinum badge for his...

Ynze | Oct 2, 2022 | Syndicated blog

Content Delivery API – The Case of the Duplicate API Refresh Token

Creating a custom refresh provider to resolve the issues with duplicate tokens in the DXC The post Content Delivery API – The Case of the Duplicate...

David Lewis | Sep 29, 2022 | Syndicated blog