Workflow GetLastActivityInstance
Writing workflows implies sometimes having to navigate back and forth through the different activities. For example for taking the message of the last Activity, or taking the Assignee of the next...
View ArticleWorkflow GetLastManualActivityInstance
Sometimes in practice, you need to get the last manual activity of a workflow. This is the last activity that was performed before the current activity and that is not automatic (i.e. was performed by...
View ArticleWorkflow GetNextActivityDefinition
To continue my series of Workflow utility methods, today I'm presenting a way to retrieve the next Activity Definition, relative to the current Activity in the Workflow Process.///<summary>///...
View ArticleWorkflow GetNextActivityInstance
The following code sample shows how to read the next ActivityInstance in a workflow. Mind you that for this to work, the current Activity has to be finished. Only then a next Activity Instance is...
View ArticleDemystifying Workflow, Blueprint, Publish and Actions You Can do With Such Items
I was playing around a while ago with some Components in Workflow, in Blueprinted situation, when I noticed some strange behaviour.I was trying to place a v0.x Component (in Workflow) on a Page in a...
View ArticleCreate and Publish Page for Component in Workflow using Core Service
It seems like this use case keeps coming back time and time again. The requirement: when a new Component is in workflow, part of the approval workflow on the Component should be an automatic Page...
View ArticleWriting to Multiple File Systems from the Same Deployer
This topic is not new. It comes back regularly, pretty much with every single enterprise client I have implemented. "Why do we need different Deployers for different file systems?". "Why can't just...
View ArticleReferencing the Tridion.ContentManager.config
There are times when you need to create a new Session (i.e. Tridion.ContentManager.Session) in TOM.NET. This is considered bad practice, for reasons I'm not going to dwelve into here.By default, when...
View ArticleHow to Create a Folder Structure with the Core Service?
This topic has been asked recently on StackOverflow. The question was how to create a Folder (or actually a series of nested Folders) like /aaa/bbb/ccc/ddd using the Core Service in Tridion 2011SP1?The...
View ArticlePublishing from Template Code Using an Impersonated User
This topic touches on hot Tridion practices, both of them debatable:Publishing from Template code;Impersonating a user in Template code;I won't go into the debate (maybe I'll write about it at a later...
View ArticleWhy Should You Use the /uploadpdb Option with TcmUploadAssembly.exe ?
A Bit of BackgroundTcmUploadAssembly.exe is a utility program that allows you to upload a DLL into the SDL Tridion Content Manager. It does the following:Create a TBB (of type .NET Assembly) that holds...
View ArticleGot org.hibernate.hql.ast.HqlToken Exception? Here's the Solution!
Typically when you get the org.hibernate.hql.ast.HqlToken ClassNotFoundException, you are installing Tridion Content Delivery on WebLogic (or, at least, that's when I encountered it all of the...
View ArticleSlow DB Performance on Content Manager Writes
The issue below took me a good 6 hours to fix. Hopefully it will save somebody that time, so here it is:My Tridion 2011 SP1 HR1 Content Manager was getting hit by a very peculiar performance issue –...
View ArticleRenderedItem Metadata and Instruction
Ever wondered what the methods AddMetadata and AddInstruction do in the RenderedItem class? Did you ever noticed they were there? I’m talking about...
View ArticleYet Another Java Mediator?
I set out recently on the quest of creating a Java Mediator. I'm definitely not the first one, but I am surprised how far I got in relatively short time (over the weekend, basically between going to...
View ArticleSyntax Validation for Java Fragment TBB
This little post explains how to perform "Content Validation" of a Java Fragment TBB as part of the Tridion Java Mediator I am currently working on. If you want more information about the "Yet Another...
View ArticleJSP Template Building Block
Continuing on my quest for creating a Java Mediator for Tridion templating, I have now reached the moment when I would focus on a JSP TBB. Check out my previous post about Java Fragment TBB and how to...
View ArticleEnabling JSTL Support in JSP Templating
In my recent efforts on writing a Java Mediator for SDLTridion templating, I have now reached the point where I can write Template Building Blocks in JSP. Next is to enable JSTL support in the JSP TBB....
View ArticleMessing with the Engine
Don't ask me why -- well, ok, ask me and I'll tell you -- but I have been investigating lately how to create my own Engine instance (i.e. Tridion.ContentManager.Templating.Engine). Engine is an...
View ArticleWhy Copy-Pasting your Schemas Is Not a Good Idea
I just noticed something concerning -- I copy-pasted a Schema in Tridion 2011 SP1 HR1 and I noticed the UUID namespace of it did not change. In fact I ended up with two different Schemas having the...
View Article