New/Edit transformation

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

On this tab, you are either creating a new transformation or editing an existing one. If you want to use an external editor to edit the transformation, use the Check out to file (CheckOut) button to check out the transformation to a file on your local disk.

 

For each transformation, you need to enter the following:

 

Transformation name

The name of the transformation.

Transformation type

You can select between two transformation types - ASCX or XSLT.

Code

This is the actual code of the transformation.

Generate default transformation

Using this button, you can generate a default transformation for the currently edited document type.

 

ASCX transformations allow you to change the type of the generated transformation using the drop-down list next to the button:

 

Default - standard ASCX transformation
RSS - transformation which transforms documents into the RSS feed format
Atom - transformation which transforms documents into the Atom feed format
XML - transformation which transforms documents into general XML feed format

 

Examples of expression which can be used in your transformations can be found here. More information on writing transformations can be found in the Writing transformations chapter of Kentico CMS Developer's Guide.