Navigation (and other custom items) in DD4T 2 Java

Posted on Leave a commentPosted in DD4T, Java, SDL Web (SDL Tridion)

You might have noticed my recent blog posts are of a Java nature, and that’s not like me. I’m currently on a Java project, so that means everything is a fun new world of learning (and pain) 🙂 On the project, one of the early tasks is navigation as you would expect. As I need to tackle this task soon, I started to look around the web for patterns and practices others have followed. Unfortunately I didn’t really find much information on navigation in DD4T Java (there are a few posts for .Net), so I decided I’d give it a […]

How to Test or Demonstrate SDL Web Translation for Free!

Posted on 2 CommentsPosted in SDL Web (SDL Tridion), Translation

One of SDL Web’s standout features, is the ease of translation. The ability to initiate translation, directly from the content management system, and it automatically be updated once translation is complete is a clear differentiator. In this post I’ll show you how to sign up for a free trial, and plumb it into SDL Web, to aid demos and proof of concept projects. 1. Sign-up for SDL’s Lanugage Cloud Pop over to https://cxc-languagecloud.sdl.com/#app=languagecloud&entry=subscription and create a free account. Once you’ve got your account setup, you can then select the free trial tier from the options. 2. Setup an API Key Now […]

Creating Copies of your Database with PowerShell

Posted on Leave a commentPosted in PowerShell, SDL Web (SDL Tridion)

Recently, while developing a migration script, I needed to repeatedly test against a clean base version of my Content Manager database (before migration). The easiest way to do this was to create a number of identical clones of the base database, and then update the SDL Tridion configuration each time I needed a fresh one. Cloning the database over and over, chaning names and file paths was time consuming, so I created a small PowerShell script to help

DD4T 2.0 Java, for ASP.Net Developers: Step 3 – Running in Tomcat and Debugging in Eclipse

Posted on Leave a commentPosted in SDL Web (SDL Tridion)

Now the fun part, getting it to run. If you’ve followed step 1 and step 2, we have everything we need now. The end is in sight… Open up Eclipse, and lets get started: Run-as “dd4t-2-java clean install” Expected Warnings (JARs not in Maven Central) [WARNING] The POM for com.tridion:cd_cache:jar:8.1.1-1005 is missing, no dependency information available [WARNING] The POM for com.vs.ezlicrun:easylicense:jar:2.5 is missing, no dependency information available [WARNING] The POM for com.tridion:cd_core:jar:8.1.0 is missing, no dependency information available [WARNING] The POM for com.tridion:cd_model:jar:8.1.0 is missing, no dependency information available Install missing JARs Locally Download the following JARs to your machine, […]

DD4T 2.0 Java, for ASP.Net Developers: Step 2 – Getting Setup in Eclipse

Posted on Leave a commentPosted in SDL Web (SDL Tridion)

Now you’ve got the environment setup in step 1, its time to get it working… which was easier said than done… You can start with the DD4T Archetype mentioned here, https://github.com/dd4t/dd4t-2-java/wiki, but at the time of doing this it was in a bit of “DLL hell” or whatever the JAR equivalent is. As an alternative, you can use my base project available on my public BitBucket. Clone the repo (https://bitbucket.org/chrismrgn/dd4t-2-java) to your local machine Ensure you have your SDL Web 8 environment setup, with the DD4T bits and pieces, and you can access your Discovey Service. Especially the items on more […]

DD4T 2.0 Java, for ASP.Net Developers: Step 1 – Getting your Environment Setup

Posted on Leave a commentPosted in SDL Web (SDL Tridion)

To .Net developers (including me), Java is the devil. It is complex, not user friendly and there are endless config files to deal with. We are use to nice GUI’s and IDEs that “do it for you”. So, when I was assigned a DD4T 2.0 Java project, with SDL Web 8, my gut reaction was… run away!!! Once they’d talked me out from the desk I was hiding under, and I could avoid it no longer, I got cracking. Also, before getting into the weeds of it, a big thanks to Raimond Kempees! He got me over a few speed bumps […]