Posts

Showing posts with the label sitecore 8

Sitecore Spatial/Geo Location Search Module

Image
Previously i have released Sitecore.ContentSearch.Spatial module that support applying Geo-location based search using Sitecore ContentSearch API, That release had some issues with results getting cached and not updating when you publish the location items or make changes to them, Also it required that you use different [ documentBuilderType ] than Sitecore default. In the new release you only to update your index to use (Sitecore.ContentSearch.Spatial.Provider.Lucene.LuceneIndexWithSpatial) class, and to add two computed fields configurations to your Index configurations, and that's it! To install this module, Download or clone this repository  on github to your machine, As of now, i'm using  references for Sitecore 8.2 -Update3 from Sitecore Nuget feed, You can update the references to match your Sitecore versions using Nuget Manager. Build the solution and copy the following dlls from the bin folder to your project: Sitecore.ContentSearch.Spatial.dll Spat...

Update item name using Sitecore Item Web API

Recently i have been using Sitecore Item Web API frequently to add/update/retrieve content from sitecore, Its easy to setup and use, and can save you time and effort when you integrate sitecore with other plateforms/systems Developers use the Sitecore Item Web API to manipulate the content items in Sitecore through HTTP requests. The API gives access to content through items paths, IDs, and Sitecore queries. This service produces output in JSON format and is both highly customizable and optimized to support a minimum number of requests. Sitecore Item Web API 1.0.0 Developer's Guide    I was asked a question recently on how to change Sitecore Item through the Item web API, and i thought that should simple and out of the box, right? Well, i was wrong, i could not find that its possible to update item name while going through Sitecore documentation: Updating Existing Items The HTTP PUT method is used to update existing items. This affects all items in the resolved s...