New/Edit transformation
On this tab, you are either creating a new custom table transformation or editing an existing one. If you want to use an external editor to edit the transformation, use the Check out to file link to check out the transformation to a file on your local disk.
For each transformation, you can enter the following:
Transformation name |
The name of the transformation. |
||||||||
Transformation type |
You can choose from the following code syntax options, which will determine how the transformation is rendered:
|
||||||||
Code |
This is the actual code of the transformation. The code will be processed according to the selected Transformation type. |
||||||||
Generate default transformation |
Using this button, you can generate a default transformation for the currently edited custom table.
ASCX transformations allow you to change the type of the generated transformation using the drop-down list next to the button:
|
||||||||
CSS styles |
This field becomes available if you click the Add CSS styles link below the transformation's code editor.
Here you can define any CSS classes used within the code of the transformation. The specified styles will be loaded by pages where this transformation is used to display data (e.g. through a viewer web part). Please note that this requires the Allow CSS from components setting to be enabled in Site Manager -> Settings -> System -> Performance.
For more information about CSS styles of page components, please see the Development -> CSS stylesheets and design -> CSS for page components topic in the Developer's Guide. |
Examples of expressions which can be used in your transformations can be found here.
More resources can be found in: