Category: Development

Prevent orphan components in Experience Editor when deleting composed components

Prevent-a-component-to-be-deleted-in-Experience-Editor-when-it-has-inner-components-banner

If an editor deletes a component in Experience Editor and that component has inner components, only the outer component will be actually deleted from the page rendering. Inner components will not show anymore (and often Content Editors will be happy), so

Posted in Content Edition Experience, Development, Experience Editor, Uncategorized

Language specific MediaProvider breaking icons at Media Library

UPDATE: Kamruz Jaman has contributed with a comment for a simpler, less intrusive and more generalist solution:  Inside the GetMediaUrl method of your custom MediaProvider, check for the “Thumbnail” property of your MediaUrlOptions parameter. If it is true, make your code fall

Posted in Bug fixing, Development, Support Ticket, Upgrades

Slowness with Custom Properties on .NET Security Provider

If you ever used the standard .NET Security Provider with Sitecore, you may love how easy it is to create and use Custom Profile Properties, where data can be easily saved at user profiles. But a huge issue can emerge if you attempt to retrieve users at

Posted in Development, Security Provider

Faster Sitecore for Development - All in a single include

Since Sitecore 8, load times after builds are getting slower due to the high usage of Speak at the new UI. There is a great post by Kam Figy that summarizes reasons and how to improve this performance. Tired of having to get

Posted in Development

SPEAK: ItemTreeView with multiple Roots

I’ve being studying SPEAK recently for a module I’m building, and it’s being a lot of fun so far. Of course, when learning anything that imposes a different paradigm, it’s common to get stuck with “simple” things that, in another programming realities, are

Posted in Development, SPEAK

Using Rules to replace spaces by dashes in Sitecore 7.5 in 3 simple steps

In this article I show how to use rules to rename items so, every time an item is saved, spaces gets replaced by dashes. Advantage of using rules is that you can visually setup different kind of conditions, without having to hardcode

Posted in Actions, Development, Rules

Visual Studio Solution at Sitecore Projects - Avoiding IIS restarts with Robocopy in a Post Build event

As very well described by Sean Kearney at this great post, there are two ways to setup a Sitecore solution on Visual Studio for development: 1) Your solution, and code, is fully immersed in the Sitecore web site; 2) Your solution, and code,

Posted in Development, Visual Studio

Best way to setup Active Directory Module in a Sitecore Solution

Connecting Sitecore with an LDAP Server is pretty easy with Sitecore’s Active Directory Module. Setting up the module is not hard, but if you follow the official documentation you’ll end up updating a lot of your Web.config file, which may be a problem for

Posted in Active Directory, Architecture, Development, LDAP, Sitecore Modules

How would you do it: 2 levels menu

One of our clients has a development team that will take over the project as soon as we finish our part. They have great developers with no Sitecore experience, and some of their questions are pretty valuable for those starting in the

Posted in Architecture, Development, How To Tagged with: , ,
Social Media Auto Publish Powered By : XYZScripts.com