Kentico CMS 6.0 Developer's Guide

Overview

Overview

Previous topic Next topic Mail us feedback on this topic!  

Overview

Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic!  

Transformations are pieces of code that determine how Kentico CMS documents, or certain parts of them, are rendered by listing web parts and controls. They take raw data from the Kentico CMS database and transform it into the form you wish it to appear in. This makes them a crucial tool when displaying documents and document related data on the pages of your website.

 

Transformations can be accessed in Site Manager -> Development -> Document types -> Edit (Edit) a document type, on the Transformations tab.

 

devguide_clip1371

 

To learn about the functionality of transformations and to see examples of their code, please refer to the Transformations topic.

To see an example of writing transformations for a particular document type, please refer to the Writing transformations topic.

To learn how to display documents in a hierarchical structure, please refer to the Hierarchical transformations topic.

To learn how to add context menus to web parts displaying users or groups, please refer to the Context menus in transformations topic.

To learn how to add your own functions to transformations, please refer to the Adding custom functions to transformations topic.

Transformations may also be applied to documents (and other data) loaded through macro expressions. Please see the Transformations in macro expressions topic for details and examples.