I recently implemented an Audience Manager integration in a Web 8 DD4T (.NET) project. I was scratching my head for a long time about an error message that didn’t seem to make sense:
Unable to determine the current Publication. Please make sure the Ambient Data Framework is running, or configure a DefaultPublicationId in the cd_audience_manager_conf.xml configuration file
I recently gave a presentationÂ at the Ohio Valley SDL Web User Group, whichÂ focused on the two main Content Delivery frameworks DD4T and DXA. Â If you were not present for this presentation, you can find a copy of my slides after the jump.
Today Bart Koopman from SDL and MihaiÂ CÄƒdariu from Mihai Consulting presented two really interesting topics at today’s November SDL Tridion Webinar:Â
- The Tridion Reference Implementation
- Cache implementation with and without DD4T
If you missed the webinar the resources are available after the jump.
In a DD4T website, you can serve images from the broker using the BinaryDistributionModule. This is a module that intercepts requests for any images, and then queries the broker for published images, and serves them (I will talk about this more in-depth in a future post).
However, this might give some problems if you also have static images.
Released last week – the first step on a path to lower the barriers (time, cost, knowledge, lack of standardization) of implementing SDL Tridion. In this post I aim to give a short introduction, by highlighting what you should and should not expect from the Reference Implementation.
There are a number of steps required to install SmartTarget and all the required pieces, including FredHopper and the new SmartTarget CD Webservice Extension. Thatâ€™s right; Tridionâ€™s OData Webservice now comes with a SmartTarget extension to grab your Promotionsâ€™ itemsâ€¦ I digress. In this article I am going to assume that youâ€™ve done your homework and read the SDL Live Content documentation regarding the necessary moving parts, wiring and plumbing, and have it all installed. (If youâ€™re looking for an introduction to SmartTarget 2014, have a look at John Winterâ€™s article: A look at SmartTarget 2014). So here weâ€™ll just jump right into answering the question of how to integrate DD4T.NET with SmartTarget 2014 and I will share an MVC HTML Helper Extension class providing us with control to render SmartTargetâ€™s Promotion Items in your DD4T-driven MVC.NET application.
Unit testing your code is a great way to make sure your code works as expected,Â now, and in the future, afterÂ loads of changes to your project.
Writing tests can be pretty simple, if you have functionality that only relies on logic, but what if your code relies on ‘external’ data.Â How would you test that?
Reverend Green in the Conservatory with the Lead Piping?
Recently I’ve been performing some post-launch improvements to a DD4T site for a client. Â A number of their requests have been along the lines of improving screen element <x> on page <y>.
The project is reasonably large with the website being comprised from a couple of hundred abstract MVC views. Â A good amount of nested, view re-use, with nice generic css classes has actually been a detriment when it comes to tracking down exactly which view screen element <x> originates from.
Occasionally you find a view that includes some ‘start’ and ‘end’ comments in the output.
<!-- Start View: Example -->
View contents go here...
<!-- End View: Example -->
If you hadn’t noticed, SDL Web released a new product recently: Contextual Image Delivery, which in short enables you to resize, crop, trim and convert formats for images. I thought I would see how easy it was to set up in an ASP.NET MVC environment, and it went pretty well, but there are a few subtleties Continue reading