A generic post build solution for SDL Tridion templates

Tridion, Tips & Tricks, Templating

When developing compound templates for SDL Tridion you might want to use the Post Build trick that is explained in the SDL Tridion docs here, but there is a generic solution for all of your projects. First create a TcmUploadAssembly directory in the root of your solution folder. Put the TcmUploadAssembly files there and generate the config.xml here too.

read more

Moving from templating to software development

Tridion, Continuous Integration, Templating, Software Development

The way we're developing SDL Tridion websites is changing. We we're used to templating everything in Tridion and Tridion was our version control system. The web application we published were jsp pages, aspx pages, or pages based on some other technology. We're moving away from this way of working now and we're moving towards Software Development. We're hearing things like

read more

DD4T Component Template Metadata

DD4T, Tridion, Tips & Tricks

Did you know that DD4T metadata for component templates support more than just the view name? You can also provide a controller and an action. This allows for some powerful new options. If for example you've created a custom forms solutions, you could create a seperate FormsController. This controller will then be called instead of the default ComponentController for the

read more

DD4T: Configuring multiple environments

DD4T, Tridion, Continuous Integration, MSBuild, MSDeploy

When deploying a .NET application on multiple environments you have to deal with multiple configuration settings for each server. This can be fixed by creating multiple packages, publishing from Tridion or creating parameter files. MSDeploy parameter files Multiple packages takes too long to finish and there are multiple files you might want to change. That will take multiple transform files.

read more

An alternative to preview in DD4T

DD4T, Tridion, Preview

Quirijn Slings wrote a post about previewing pages using DD4T and a Configuration file. There is an alternative for configuring previews. In the preview TBB there is a hidden feature (nobody blogged about it I think) that is looking for a metadata variable on the Publication Metadata called "StagingUrl". This variable is used to POST an XML to that url.

read more

DD4T: Creating deployment packages

DD4T, Tridion, Continuous Integration, MSBuild, MSDeploy

Do you remember Tridion Deployments to be copy paste tasks, Running Content Porter to transport to your Test, Acceptation and Production environments? Always forgetting some dependency? DLL files, css, js files and other static dependencies need to be copied from one environment to another. Creating large installation instruction documents. It is deployment hell... Let's make it a bit easier This

read more

Handling 404 errors in DD4T

DD4T, Tridion

When dealing with errors in DD4T, especially when you are running locally in your development environment, 404 errors can become quite a regular thing. You can go with the classic 404 configuration from the Web.Config, but then your DD4T environment will debug the errors in Visual Studio each time. Can be quite frustrating when this happens a lot. To

read more