Category Archives: Content editing

Posts related to operating the content editor in Sitecore

Instantiate page button

Create items via Sitecore ItemService, Experience Editor button and JavaScript.

So what is going on here? That is a complicated title! Well yes it is, that’s because this was the easiest way to achieve what i wanted and it resulted in what could have been three separate blog posts. I’ll try to keep it together by starting with an explanation. Continue reading Create items via Sitecore ItemService, Experience Editor button and JavaScript.

Html stripping not working correctly in single-line field

As the title says when an editor pastes text into a single-line field in the experience editor, the html formatting does not get stripped correctly. This bug has been verified in Sitecore 8.1 and 8.2. I have not tested in any other versions.

Html stripping does not work

What I have done here is to change the field type in the home item of an empty Sitecore installation to a single-line field. I then searched for “Sitecore rules!” and copied+pasted the title from google into the single-line text field and saved the item.

There is a patch for this provided by Sitecore support. It can be downloaded here:
When applied the html stripping of formatting should work as intended.

The version of the patch says that it is built for Sitecore 8.2, but Sitecore support has told me that it will work fine for Sitecore 8.1 as well.



A very simple media upload via URL

The media upload functionality in Sitecore only handles direct file upload while you sometimes would like to add a media item from the Internet. There are for example Digital Asset Management (DAM) systems that use URL cut and pasting as a means of integration.

The drawbacks of this method of integration is that the web site will depend on the media being available from the DAM system which it may not always be. If for example the DAM is down a single point of failure is introduced in the web site. If the editors remove an image from the DAM system they will have no way of knowing that an image actually is used in a web site. I personally do not think that URL cutting and pasting is a good way of integrating a DAM system, but sometimes you have to deal with the systems already out there. Continue reading A very simple media upload via URL

Shortcuts to content editor web and core

I often find myself switching between the core database, the master database and the web database in Sitecore. Each switch makes the content editor reload and I have to find my way back through the content tree to where I was before I need to switch databases.

This is a way to add shortcuts to a content editor for each database on the desktop in Sitecore. Continue reading Shortcuts to content editor web and core