Sitecore 9 – Azure Search Suggestions

sitecore-azure-logo

As you already know Sitecore 9 is Microsoft Azure compatible, but when it comes to Azure Search than it has many limitations. One of those limitations is Azure Search highlighting, Azure Search Suggestions and some others…
On one of our projects we had to provide suggestions with the search. After some investigations we decided to build it on our own, instead to wait and see if it will come out with new versions of Sitecore.

The biggest problem was that Sitecore packages for Azure Search do not support building indexes with suggestions. In order to build an Azure Index with Suggester we have made a workaround and extended the Sitecore implementation of IndexDefinitionJsonConverter. (mehr …)

Sitecore – Meet the Dockers

docker_logo

Today I like to show you how Docker can be a really good companion for a Sitecore developer. As strange as this may sound but I am developing Sitecore on a Mac with Windows running in a VM. This has to do with my history as Mac guy and my difficulties to adapt to the Windows system’s behaviour. I was searching for ways to save as much ressources on my VM as possible and to make my development environment as flexible as possible and in time I became aware of Docker.

(mehr …)

Uniquely identify your dynamic placeholders in Sitecore 9

Sitecore 9 introduced the dynamic placeholder feature. Please follow the official documentation for more information about when and how to use it.

The problem with the default dynamic placeholders

At first glance, the new dynamic placeholders look very straightforward. Basically, we provide an integer which is the amount of placeholders that should be rendered. Additionally, we can define the seed which indicates the starting value that is used for key generation (see example below). Also the markup customization possibilities are quite nice. However, when I used it in a project I ran into a problem that made me realize that the simple mechanism comes with a huge downside.

(mehr …)

How to resolve an Application Cache System.NullReferenceException in Sitecore.Speak.Client

Sitecore Log Analyzer Icon

The situation One of our clients reported recently, that the content managers started to be affected by a situation, where they were… not able to fully load the Sitecore Experience Editor anymore (stuck with the spinning loading-icon) and also weren’t … Weiterlesen

Dependency Injection with Autofac

Dependencies Injection is a pattern which could be very helpful to create a maintainable and a less complex code. It is a form of IoC (Inversion of Control). The aim of this pattern is to give away the responsibility to instance some objects within own code. That means we don’t need to take care of, how, when and where we create an instance of an object. Also you have the possibility to mock up the interfaces and services in order to create unit tests. If you once understand it, you will never want to code without it again.

(mehr …)

How to handle Events in Sitecore

Sitecore provides many ways to integrate own logic while executing specific actions. One of those ways is event handler.

1. Default Event Handler

Sitecore have per default some events which are defined in Sitecore.config configuration file.

(mehr …)

Add Export to File Functionality in Sitecore’s Search Options

This blog post is based on the Article Add Export to File Functionality in Sitecore’s Search Options by Dean Mark Soriano.

To follow this guidance as well as possible it is required that you have already completed the steps from this blog post:
https://sitecore.namics.com/2017/11/03/customized-sitecore-search-view-list-buckets-values-in-dynamic-placeholders.

2017-11-02_14-43-54

Now we want to export the result list into an excel file.

(mehr …)

Customizing RTE functions according to user/role

In many cases, the customer want that some functionality in RTE are not accessible for some authors and accessible to the other. For safety reasons for example, it’s necessary to allow the Webmaster only the ability to insert links within rich text editor or to add images. In Sitecore it is possible and pretty easy to set access rights for some roles or users to read, write or edit some fields within a component.
In this article we will take a look how we could configure a rich text editor, the way that the role „User/Author“ will not be able to use the button „Insert Link“ while the Webmaster is allowed to use the „Insert Link“ button.

(mehr …)