More in this section

Event Index

3 posts, 0 answered
  1. Annie
    Annie avatar
    46 posts
    Registered:
    11 Aug 2012
    21 May 2009
    Link to this post
    Hi,

    Is there a way to index events in sitefinity?

    Thanks,
    Annie
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    21 May 2009
    Link to this post
    Hi Annie,

    There is a way. Here are some steps.

    1. Create a provider that inherits from IIndexingServiceClient.
    1.2. Create a method for public IIndexerInfo[] where should get the events using EventsManager class.
    1.3. Return the urls for indexing.

    2. Create another class that inherits from IIndexerInfo where you need to specify IIndexerInfo Members - GetData(), mymetype, culture.

    3. Create a Settings class that inherits CompositeControl, ISettingsControl. there you can set your ControlTemplatePath - the template that will show your indesx setting in the admin area.

    4. Create another class that inherits from CompositeControl, ISearchViewControl - override CreateChildControls and set your custom template path.

    5. Register  the newly created settings and provider in your web.confog file.

    <indexClients> 
            <add name="EventsIndex" type="Telerik.Samples.EventsIndexProvider, App_Code" settingsControl="Telerik.Samples.EventsIndexSettings, App_Code" viewSettingsControl="Telerik.Samples.EventsViewControl, App_Code" description="Provides indexing services for Events."/> 
          </indexClients> 

    I hope this helps.

    Regards,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. SelAromDotNet
    SelAromDotNet avatar
    912 posts
    Registered:
    18 Jul 2012
    21 May 2009
    Link to this post
    I've actually made one of these already on my blog, if you want a starting point, take a look here:

    http://www.selarom.net/blog/2009-01-23/sitefinity_index_and_search_events.aspx

    there is a link to download the files at the bottom of the post. hope this is helpful!
Register for webinar
3 posts, 0 answered