Skip to main content

Posts

Item Commander

It's been a long time ago since I created my last blogpost. The reason that I was working on a SPEAK3 Sitecore module.I started it just for fun but it turned into a quite challenge. My colleagues liked it very much, so I decided to finish it and launch it on the Sitecore Marketplace. I would like to say thank you to my collegues who spent time on testing/brainstorming . (Update: Sitecore 9.3 is not supported yet!) Before I launch it on the Marketplace ( It is a work in progress version) , I've decided to upload my solution to github, make it available to you so you can give your feedback or your feature request. Download package from GitHub GitHub repository Demo video The main purpose of this module is to speed up Sitecore Item Manipulation in the SPEAK3 application, which is similator to TotalCommander. The module consists of a Sitecore Entity Service and a SPEAK3 application. It has the following features: The UI looks/feels like you are working in a fil...

My very first Sitecore meetup presentation

It was my pleasure to hold a presentation on the 8th Hungarian Sitecore User Group meetup along with two Sitecore MVP. I was so excited but I hope you enjoyed my presentation.  I would like to say thank you to the organizers. We had the following topics: 10x Your Sitecore development - Mark Cassidy (@Cassidy Consult & Sitecore Technology MVP) Experiences with Sitecore XC and some do's and dont's - Christian Hahn (@Freelancer & Sitecore Commerce MVP) From code to server: Case study in a programmer doing CI/CD - Bence Juhos (@ALLWIN & Sitecore Developer) How to start SPEAK3 if you are a backend developer - Mihály Árvai (@POSSIBLE) Useful links for SPEAK3  development Angular architecture TypeScript My Sitecore SPEAK3 starter application SPEAK3 UI Components Content Editor Toolbox  - It will be published to marketplace after some enhancement Official Sitecore SPEAK3 page  - Reference application and node packages

The strange behavior of Sitecore Search with cloned items

Today I would like to share some strange behavior noticed when using Sitecore search with cloned items. Sitecore support was also able to reproduce this. I tested it using Lucene and Azure searches, and both of them displayed the same behavior. I will update this post when I get an update from Sitecore Support. Context We have a multi-site solution where some types of items can be shared with other sites using item cloning features. eg The editor creates a news item on the first site, they can then clone this news item to any other site. If the editor wants to edit the news item, they need only edit the original item and any changes will be reflected the clones immediately.  Let's assume, we have the following structure within Sitecore: We have the following index configuration for the "Global Site", called global_site_master_index After an index rebuild, global_site_master_index  contains items from the  Global Site . Let's clone FirstSite_Ne...

Sitecore SPEAK 3 UI collection

Hi, I would like to present my Sitecore SPEAK 3 UI library to you in the hope it will be a helpful template. Please check out a previous Sitecore SPEAK3 related post here . I've created a SPEAK 3 application, in which several SPEAK 3 components and styling are collected. You can download it from GitHub and check what different sitecore/angular components look like and check predefined styles, etc Moreover, I am calling on you all to contribute, because SPEAK 3 is really awesome, and it is quite fun even if you have never used Angular 4 before. How to use the sample code 1) Clone this repository . 2) Run 'npm install ' command in the project directory 3) Run ' npm run start ' command in the project directory 4) Open http://localhost:4123 in your browser How to use directives/components in your SPEAK3 application In this example we are going to add the  BackButton ,  Tabs  component and Table  directive to our application.  1) Make sure if the...

Sitecore SPEAK3 Starter Template

Hi, I've created a starter application for SPEAK3 development. Source is available on GitHub . This starter application is based on offical SPEAK3 reference application which is available on the Sitecore's page . Starter template has the following features app.module.ts contains several Sitecore SPEAK component import You can check what different components look like in this repository Sample service page which has a sample service Sample service consumes mock service in disconnected  mode A sample datacontract Sample mock service which produces mock data in disconnected mode How to use Starter template Clone Github repository run npm install  command in the project directory run npm run start  to run project in disconnected mode Open http://localhost:4123 in your browser How to build starter application and add to your Sitecore Run npm build  command in project directory Copy < projectroot>\dist  folders content to <sit...

Create custom Sitecore Search Crawler

Hello, I would like to show an implementation of a custom crawler which prevents indexing items under specific paths. This is useful when you want to exclude a whole subtree from your index configurations. e.g: You have a multi-site structure which contains 3 sites. You want to implement search funcationlity on one of the sites (call site A) and visitors should be able to search in site B content, but content from site C should not be visible, and you dont want to break relevancy of the search result. The first step is create a class, call CustomCrawler.cs. This class should be derived from SitecoreItemCrawler class. Now, you can overwrite IsExcludedFromIndex method. If you are ready, you should change crawler in the search config. Add paths to ExcludeRoot node and seperate them by pipes. That's all. Now items are not indexed from the excluded paths, and you don't break the relevancy.

Experience profile is empty after converting old DMS data

Hi, I wrote a post a few weeks ago with regard to Sitecore upgrading from 7.2 to 8.1. Everything went well, except  I couldn't get Experience Profiles from historical data. I contacted with Sitecore support and after a few weeks I received the script for xDB's Contacts collection. I ran that script, performed the report db rebuild process (which is described here ) and the result was more than 3 million document in sitecore_analytics_index. So everything is working well after the upgrade process . Here is the mongo script:

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 (in...

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