Skip to main content

Posts

Showing posts from April, 2016

Package generation with Search Operations

Hi, It's a short tutorial with regard to search operations. Search operations is used for performing actions on collections of items. By default you can copy, move, serialize, clone, delete, publish the results. On the other hand, you can extend the list of commands with your own commands. It is available from Sitecore 7.0. So let's add a simple command, which generates a sitecore package from the search result. Step 1: Create command item and register it.  Create (or duplicate an existing ) command to here: /sitecore/system/Settings/Buckets/Settings/Search Operations/Fields. Fill the "Type", "List Name", "Enable" field. Finally, register your command in commands.config or create a new config. Step 2: Create code base for command Your CommandContext contains the search query and the context item. So you can perform the same search and add items to the package. Here is the code:  That's all! It's really easy to customi

Sitecore 8.1 Update 2 - Azure deploy fails

Hi, I made a post few days ago with regard to Sitecore upgrading. After upgrading our site, we have decided to move it to Azure. Well, I'm new in Azure deployment, so I followed Azure related documents from http://doc.sitecore.net . Everything went well, until I tried to deploy the site to Azure. At certain point, I received the following exception: I tried to find the solution on other blogs / community forum without any success. Then, I checked Sitecore.Azure.dll and Sitecore.Kernel.dll and I realized, there are some changes in Sitecore.Configuration.Factory class ("ExpandIncludeFiles" was removed from Factory), so I have contacted with Sitecore support and waiting for a patch. So if you host your solution in Azure, I suggest to wait for the patch.

Sitecore 8.1 upgrade from 7.2

In the following post, I would like to share my experiences with regard to Sitecore upgrading and highlight some points. We have a project which is running on Sitecore 7.2 update 4. (This project was originally developed on Sitecore 6.5, but we upgraded it a few months ago) We have decided to upgrade that project to 8.1.  Probably you know there are more ways to move a project to Sitecore 8. e.g: You can create a new Sitecore 8 instance and transfer your content into the new instance. But we wanted to try the in-place upgrade process when the process modifies the existing instance. Moreover, we were curious how we can move old DMS data to xDB.  Step 1: Upgrade to 7.5 (Initial release) If you are already on Sitecore 7.2 you can move your solution to 7.5. Probably this is the hardest and slowest part of the path. Note: Always read and follow the upgrade notes from Sitecore before you start.  Before you start 7.5 upgrade, you will need: 7.5 update package (initial release)

It's time to...

..blogging. Hi Everyone, My name is Mihaly ( please call me Mitya) and I decided to create a Sitecore Tech blog. Yes, I know that the community already has several great blogs, but maybe I can create a good one too. My plan to create 2 posts in each quarter Stay tuned, the following posts are coming:  Introduction of LogExplorer, which is a small sitecore module. You can download from marketplace .  My Upgrade experiences, a true story about upgrading a Sitecore 7.2 update 4 project to Sitecore 8.1 update-2 Pdf content indexing with iTextSharp Sitecore xDB Tips & tricks, like using pattern cards for relevancy or personalization step by step Mocking Sitecore objects with JustMock and many more