If you’re looking to generate a sitemap.xml file, this post contains a handy TBB to use as a starting point for your development.
Author Archives: John Winter
SDL Tridion webinar: Presentations and resources
For anyone that would like the slides from today’s SDL Tridion community webinar here are the downloads:
Thanks Jules/SDL for having us and we’re looking forward to the next one.
Getting used items using the core service
Just wanted to post up a quick code snippet showing how to get a list of used items XML using the SDL Tridion 2011 core service. Why? Well previously the API typically used to work like itemType.GetListUsedItems() (where itemType is a Component or Page object etc), where as now the ‘Using’ and ‘Used’ items are read using a filter via the core service client method .GetListXML().
Remove HTML whitespace from the template output
HTML published from Tridion is typically created using Tridion Dreamweaver Templates (DWTs). These templates can involve a lot of ‘If’ statements to check that values exist or what their value is etc. I like to put line breaks between each DWT statement so that its easier to read and work with, which usually looks something like this (actually it can get a lot crazier than this!):
Installing the Image Map extension for SDL Tridion
This post is part 3 of 3 that explains how to install the Image Map extension for SDL Tridion. Please also read the image map extension introduction and details about how to use it.
Note: This will only work on SDL Tridion 2011, that said it would be really easy to get this working on 2009, contact me if you’d like some help with it.
The Image Map tool is built using HTML and Javascript (Not my javascript, the excellent javascript of these guys), it plugs directly into multimedia components as a custom field in the multimedia schema.
How to use the Image Map extension for SDL Tridion
Now you’ve got the Image Map extension installed, you’re now to ready to dive in and create loads of image maps
Image Map extension for SDL Tridion
I recently spoke to someone who had the requirement for creating image maps inside SDL Tridion. Seemed like a pretty strange request as I didn’t think people still used image maps, but I thought it would make quite a cool little extension… so during a 9 hour stay over at an airport I decided to knock up a prototype.
Creating translatable website labels in SDL Tridion
What’s a ‘translatable label’?
A translation label is typically a short descriptive piece of text that is used in multiple places within a website (often every single page), for example ‘Print’, ‘Back’ and ‘Send to friend’. In the image below I’ve highlighted (in red) some text labels found in the header of an example website.
If you’re using SDL Tridion to create multi-language websites, these labels need to be available to content editors to add their own translations.
Online SDL Tridion resources
In the past couple of months a number of great online resources have popped up to help with SDL Tridion development, implementation topics and environment configuration. These links are mostly promoted on Twitter, so in the event you have missed them, I’ve made a compilation of some favourites.
TDSE impersonation & snap in security
I’ve just finished upgrading a customer to SDL Tridion 2011 where part of the task involved migrating a custom application from Tridion 2009 server to the new 2011 GUI server. The application uses the .Net Interop library in order to create a TDSE object. When the code ran to impersonate the object the following exception was thrown with the message:


