« Back to All Posts

April 22

Changes to Custom IndexProviders Implementation in Sitefinity 3.6 SP1

Posted Under: Web Development Tags: Sitefinity

In case you are using some of the Custom Index Providers I blogged about previously, you may encounter some errors when upgrading to the new Sitefinity 3.6 SP1 that was released this week.

The problem is that the IIndexerInfo interface how requires a new method, ResolveIndexPath(). Since the Sitefinity team is still catching up on documentation, I didn't know what exactly this is used for. Fortunately, with the use of Reflector, it turns out that this simply returns the Path property.

public string ResolveIndexPath()
{
    return Path;
}

Actually, this method is also supposed to take into account culture information, modifying the link if necessary. However, if you do not require this, and I don't, then you are safe with just returning the path.

Now with this change, your index providers should compile correctly, and successfully index your site. I hope this was helpful! As always, comments are welcome and appreciated.

  • Facebook
  • DZone It!
  • Digg It!
  • StumbleUpon
  • Technorati
  • Del.icio.us
  • NewsVine
  • Reddit
  • Blinklist
  • Furl it!
Post a comment!
  1. Formatting options