Quantcast
Channel: briancaos – Brian Pedersen's Sitecore and .NET Blog
Browsing all 276 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Sitecore Transfer items from one database to another

In this article I will describe how to transfer items from one Sitecore database to another. Usually you transfer content by publishing. But in rare cases this is not an option: You are not moving...

View Article


Image may be NSFW.
Clik here to view.

Sitecore 8 ServerTimeZone – my dates are all wrong

This issue appeared when I upgraded from Sitecore 7.5 to Sitecore 8. Suddenly my dates on the website were 2 hours behind – on my development server it was one hour behind. In Sitecore, my date-time...

View Article


Image may be NSFW.
Clik here to view.

Sitecore 8 EXM Get the email recipient from a Sublayout

The Sitecore 8 Email Experience Manager (EXM) is not only about sending bulk emails. It can be used to send one-time messages like “Thank you for signing up” or “forgot your password?” directly from...

View Article

Image may be NSFW.
Clik here to view.

Extend the Sitecore FieldRenderer

The Sitecore FieldRenderer is the render controls used to render fields from Sitecore in a way that makes them page editable from the Page Editor (or Experience Editor as it is called in Sitecore 8)....

View Article

Image may be NSFW.
Clik here to view.

Sitecore 8 and Tracker.Current.Session.Identify – Overriding expired contact...

The new Sitecore 8 Experience Profile is a vital part, yes almost a cornerstone of the new xDB concept. In xDB, you store information about the current user, anonymous or named, as a Contact in the...

View Article


Image may be NSFW.
Clik here to view.

Sitecore contact facets – Create your own facet

This article describes how to create a simple Sitecore facet consisting of a DateTime and a list of strings. A contact is made up of facets. Here are all the facets Sitecore uses (you will find the...

View Article

Image may be NSFW.
Clik here to view.

Sitecore locating sublayouts on your webpage

This is a followup from the post, Get Sitecore placeholders and rendering hierarchy from a Sitecore item, where I adress one of the difficulties when working with pages in Sitecore, that they tend to...

View Article

Image may be NSFW.
Clik here to view.

Sitecore register page events

A Page Event in Sitecore is a way of tracking when a user have reached a goal by executing a call to action on a specific page, for example: Downloaded a brochure Clicked your banner Done a search A...

View Article


Image may be NSFW.
Clik here to view.

Sitecore Contacts – Create and save contacts to and from xDB (MongoDB)

The Sitecore Contact is the cornerstone of the Sitecore Experience Platform and is the place where you store every data you know about any contact, named and anonymous. This library was made by my...

View Article


Image may be NSFW.
Clik here to view.

Sitecore Virtual Users – authenticate users from external systems

One of the very old Sitecore features popped up yesterday. My team and I are working on moving our 550.000+ users from the .NET Membership Provider to an external system, possibly .NET Identity. .NET...

View Article

Image may be NSFW.
Clik here to view.

Sitecore List Manager – Add Contacts to EXM Lists

This is yet another post on the focal point of Sitecore 8: Contacts. The contact repository is a multi-usage storage of user information, from visitors (named and anonymous) to imported email addresses...

View Article

Image may be NSFW.
Clik here to view.

Azure CloudQueue, Get and Set Json using Newtonsoft.Json and...

The Microsoft Azure Cloud have a nice simple Queue mechanism in their Azure Storage where you can store up to 64 kb of data for up to 7 days. The queue is very easy to set up and very easy to work with...

View Article

Image may be NSFW.
Clik here to view.

Sitecore sublayout caching vary by cookie

In Sitecore you can control the caching of your sublayouts in many different ways. Caching parameters Checking the “Cacheable” box allows you you vary the cache by data (data source), device, login...

View Article


Image may be NSFW.
Clik here to view.

Why is session NULL in BeginRequest()? (httpRequestBegin)

Have you ever wondered why the session is NULL when a request begins? The answer is simple: The Application_BeginRequest() event is fired before the Session_Start() event. The BeginRequest() event is...

View Article

Image may be NSFW.
Clik here to view.

Sitecore xDB – flush data to MongoDB

When debugging Sitecore xDB issues, it is a pain that data is not written to MongoDB directly, but you have to wait for your session to end. The legend said that you could either set the session...

View Article


Image may be NSFW.
Clik here to view.

Sitecore 8 EXM: Failed to enroll a contact in the engagement plan

In Sitecore 8.1 update 1, you might experience the following error when trying to send an email: ERROR Failed to enroll a contact in the engagement plan. Exception: System.Net.WebException Message: The...

View Article

Image may be NSFW.
Clik here to view.

Sitecore EXM: Send an email from code

The Sitecore Email Experience Manager is your way to send personalized emails to Sitecore users.   You do not need to send bulk emails, you can easily send single emails with contents like “Here is...

View Article


Image may be NSFW.
Clik here to view.

Sitecore SVG files

In Sitecore 8.1, there is a tiny but annoying glitch in the matrix, where SVG files are not allowed in the Media Library. But do not worry, the fix is easy. Go to your /App_Config/Sitecore.config, find...

View Article

Image may be NSFW.
Clik here to view.

Sitecore EXM keeps reloading

Have you experienced that in Sitecore, the EXM Email Experience Manager window keeps reloading? Email Experience Manager In my solution, the problem was that I have a cookie with a “:” (colon) in the...

View Article

Image may be NSFW.
Clik here to view.

Sitecore get host name from a different context

Ohno, you are running in one context, say the “shell” context, and all of your URL’s have to point to the “website” context. The hustler will obviously hard-code the domain name of the “website” into...

View Article
Browsing all 276 articles
Browse latest View live