Quantcast
Channel: Sitecore – Brian Pedersen's Sitecore and .NET Blog
Browsing index pages (145 articles)

Image may be NSFW.
Clik here to view.

Sitecore Scheduled Tasks Run only when you want them to

Sitecore Scheduled Tasks is one of the fundamental features of Sitecore that allows you to run background tasks based on a schedule. The most common scheduled task runner is the one that looks for...

View Article


Sitecore The type or namespace name ‘Job’ does not exist in the namespace...

From Sitecore 9.0 to Sitecore 9.2, Sitecore updated the Jobs namespace: Job have become Sitecore.Abstractions.BaseJob abstract class and Sitecore.Jobs.DefaultJob concrete implementation. JobOptions...

View Article


Sitecore TargetInvocationException: Exception has been thrown by the target...

You are probably upgrading some packages in your Sitecore instance, but instead of success and glory, you are greeted with the following error message: [TargetInvocationException: Exception has been...

View Article

Image may be NSFW.
Clik here to view.

Sitecore SOLR Search in multiselect lists fails unless you add the field to...

So I have this multiselect field in Sitecore: Sitecore Treelist Field The field is a treelist field, but this article works for all multiselect fields, treelist, checklist, multilist, etc. Treelist...

View Article

Sitecore Create Fully Qualified Url

A classic issue in Sitecore: Some code running in one Site Context is creating a link to a page in another context, and the link turns out to be complete garbage. For example, this code is running in...

View Article


Image may be NSFW.
Clik here to view.

Sitecore System.Data.DataException: Error executing SQL command: INSERT INTO...

I just deployed, and now I cannot log in. Is it an error in the code? Or is it an error in data. Don’t worry, your login ticket just got messed up in the Properties table of the CORE database. Tickets...

View Article

Image may be NSFW.
Clik here to view.

Sitecore create custom Content Editor Warnings using Conditions and Rules

The Content Editor Warnings are these yellow boxes that hover over your content in the Content Editor in Sitecore: Content Editor Warning In the old days we would make them by hooking into the...

View Article

Image may be NSFW.
Clik here to view.

Sitecore poor Index Update performance linked to missing Index in the Links...

Suddenly my index updates took forever to finish. I mean, one index update would take 2 minutes. And I have a lot of index updates. A lot. UPDATE: 2022-01-19: Sitecore have suggested the same changes...

View Article


Sitecore high CPU usage – is the SQL Session State Provider the villain?

My massive Sitecore 9.1 installation started having CPU spikes, even when the servers did not seem to receive more requests. When CPU spiked, I could see that the requests queue would build up, until...

View Article


Image may be NSFW.
Clik here to view.

Why Sitecore Composable DXP is great news for developers and consultants

Sitecore announced that they will embrace the Composable DXP approach. DXP is, according to Gartner: A digital experience platform (DXP) is an integrated set of core technologies that support the...

View Article

Image may be NSFW.
Clik here to view.

Sitecore publishItem pipeline – handling missing delete when publishing

When publishing items in Sitecore, the publishItem pipeline is called for each item that must be published, or unpublished. Except for children of items that have been deleted. Let’s take this...

View Article

Sitecore read from Custom Database

It is very easy to read from a custom database in your Sitecore code. STEP 1: ADD THE CONNECTIONSTRING TO CONNECTIONSTRINGS.CONFIG This is an example of a .config file that transforms the connection...

View Article

Image may be NSFW.
Clik here to view.

Sitecore KeepLockAfterSave – Configuring Security Policies Per-Role Based

Now here is a nifty Sitecore trick. You have probably learned about the AutomaticLockOnSave feature that allows Sitecore to lock an item when it is saved. The feature is enabled or disabled using...

View Article


Image may be NSFW.
Clik here to view.

Sitecore ComputedIndexField extends your SOLR index

The Sitecore SOLR index is your quick access to Sitecore content. And you can extend this access by adding computed index fields. This is a way of enriching your searches with content that is not part...

View Article

Sitecore AccessResultCache cache is cleared by...

Are you getting a lot of these messages in your Sitecore log: 6052 2021:03:25 05:23:12 WARN AccessResultCache cache is cleared by...

View Article


Sitecore LinkField TargetItem is NULL – what’s wrong?

An ancient topic, that pops up once or twice every year. The TargetItem of Sitecore.Data.Links.LinkField returns NULL and you are CERTAIN that the item is published. What to do? CASE 1: THERE IS...

View Article

Image may be NSFW.
Clik here to view.

Sitecore Publish item when moved or dragged using uiMoveItems and...

Sometimes you have items that needs to be published immediately if moved to a new location in the content tree. Sitecore supports this – of course – via the uiMoveItems and uiDragItemTo pipelines. Move...

View Article


Image may be NSFW.
Clik here to view.

Sitecore field level Security – give write access to members of a certain group

The Sitecore security model is pretty straight forward, but as everything security, it can become complicated. This goes for field level security. For a certain field, I wish to grant read access to...

View Article

Image may be NSFW.
Clik here to view.

Method not found: ‘Void...

I struggled with this error in my development environment: Method not found: ‘Void Sitecore.ContentSearch.Diagnostics.AbstractLog.SingleWarn(System.String, System.Exception)’. at...

View Article

Sitecore Memory Issues – Every memory optimization trick in the book

My recent post, Sitecore high memory usage – not always a problem, claims that high memory usage is not the same as having a memory problem in Sitecore. But the reason you are reading this blog is...

View Article
Browsing index pages (145 articles)


Latest Images