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 …)

Customized Sitecore Search View – List Buckets Values in Dynamic Placeholders

Many of you know this problem: We have a bucket containing items and we want to visualize the items in a list with all values and not only the standard properties like:

  • Template
  • Location
  • Version
  • Created
  • By
  • Language

The magic words to do this, is „Dynamic Placeholder“!

2017-11-02_14-43-54

(mehr …)

NitroNet and NitroNet for Sitecore 1.1.1 Released

nitronet_logo_sitecore_blog

We at Namics are pleased to announce a new stable release of NitroNet and NitroNet for Sitecore. If you have never heard of NitroNet (for Sitecore) you can check out this link and this one. In the last 12 months we have … Weiterlesen

Sitecore PowerShell Extensions – Fieldtype Source Report

SPE Fieldtype Report

Sitecore Template Felder besitzen über das Source Feld zusätzliche Konfigurationen die Feldtyp spezifisch sind. Oft handelt es sich dabei um Referenzen auf einen Pfad, ein bestimmtes Item oder eine Auswahl von Items (Sitecore Query). Ein oft verwendetes Beispiel wäre das … Weiterlesen

Adventtipp 23 – Copy Page To Versions – eine Hilfe für Content Editoren

sitecore-advent23

  Will man als Autor eine neue Sprachversion einer Seite anlegen, kann das ein grösseres Unterfangen sein. Die finalen Renderings und alle verknüpften Datasources müssen für die entsprechende Version angelegt werden. Da würde man sich wünschen, man könnte einfach die eine Sprachversion … Weiterlesen

Adventtipp 21- Atomic Design mit Hilfe von Item Renderings

sitecore-advent21

  Der heutige Adventtipp soll einen kurzen praktischen Einblick in das Atomic Design geben und wie dabei vor allem mit Item Renderings der Redakteur unterstützt werden kann. «We’re not designing pages, we’re designing systems of components.» Stephen Hay

Seite 1 von 612345...Letzte »