CSV Generator

by Ove Andersen Last updated: 1/26/2012 10:28:04 AM

This package enables you to generate a CSV representation of any Umbraco node.

To use it, simply render the node with the attached template, or create your own template and add the macro. Remember, the template must not include anything except the macro and the ASP. NET template code.

NOTE: The node in question must be published for this to work!

If you set "Get Children Of Source" to true, you will get a list of the children of the Source. The usercontrol currently searches for all nodes with the same "Document Type Alias" as the Source node if a "Document Type Alias" is not specified.

The "Encode Html Tags" option tells the usercontrol to escape all Html Tags.

The "Strip Html Tags" option takes presedence over the "Encode Html Tags" option, and will remove all Html Tags, including images, flash, etc.

The "Delimiter" string is the string used to split values. Microsoft Excel uses the ";" character to split values into cells.

The "Remove Line Breaks" option will remove all linebreaks in the properties.