COBAL Renderings in Sitecore

Sitecore’s flexible rendering module allows developers to create their own custom rendering types.  If you wish to avoid XSLT, Web Forms or Razor you can also create your own rendering type.  I was doing some work for an older generation of developers that didn’t want to get retrained on .NET and we came up with this easy to use rendering type that supports COBAL.


First we create our COBAL code file on the server.  Notice the use of the DISPLAYFIELD method to allow support for the Page Editor.



Next you just insert the new COBAL rendering type into the content tree and set the path to point to your code file or mainframe system you would like to return the content from.



The GetRendering pipeline was then extended to call out to a AS400 Mainframe witch runs the COBAL code and calls back to the Item Web API to get the rendered content.

All in all it works pretty good, and was very easy to implement due to Sitecore’s flexible rendering engine.




About Kevin Buckley
.Net web developer with a lot of experience in CMS. Currently working at Sitecore as Solutions Engineer.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: