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

DD4T: Failing it softly

DD4T, Tridion

Once you develop a new template for DD4T, you can also put a Controller and an Action into the Template Metadata. This allows for a nice form of control over your templates. Clean seperation of code and template and really use the power of MVC. But it is annoying with deployments and your development team. Once you create the template

read more