Creating custom datatypes using the umbraco usercontrol wrapper

I showed how easy it is to add custom .net usercontrols to your umbraco site frontend ( It is also very easy to add .net usercontrols wich you can use as custom datatypes. There are 2 ways of doing this, one being the umbraco usercontrol wrapper wich I will explain in this post.

Storing parseable xml data in a datatype

As a follow up on creating custom umbraco datatypes  the post I’ll show how to store parseable xml data in a datatype.

By default all propertry values get saved inside a cdata section(in the /data/umbraco.config file, wich has all published content).

Like in this example, a property with the alias test will look like this.

Fetching the nodeid in a custom datatype

Just a quick tip following the custom datatypes posts (Creating custom umbraco datatypes , Storing parseable xml data in a datatype ).

When creating a datatype you might at some point need to have the current document’s nodeid. Like if you want to insert some extra data in a custom table.

Since the datatypes are also used by autoform/doc2form , liveediting and not only in the umbraco backend the best approach is to fetch it like this:

Setting up a new Umbraco project

When setting up a new project I have the following requirements:


新增一umbraco cms演示网站,网址为

对umbraco cms感兴趣的,在安装前不妨多体验下。

Umbraco 演示网站管理后台体验方法




What is runway and modules?

A quick introduction to the boost / nitro concepts, what you can expect from a nitro package and what it means for your productivity.



Umbraco debugging made easy

This post will show you how to debug umbraco macros, with the click of a browser button.

When you need to debug your macros, either xslt or usercontrols you do this by appending some text to the querystring on the page you need to debug.  The most important for me is ?umbDebugShowTrace=true it shows you the build in stack trace from the .NET framework. You can use this if your macro shows/throws an error, in the trace you can see exactly what went wrong in your xslt- or usercontrol macro. The other one is ?umbDebug=true which will show you what is injected into your macro.



Masterpages in V4 of Umbraco - Part 3 of 3

Masterpages in V4 of Umbraco - Part 3 of 3