6 votes

EyeCatch CSV Export

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

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!

Macro properties:

Set the "Source" to specify starting point for export.

Set the "Include Source Node" property to true to include the chosen source node in the export.

If you set "Get Descendants Of Source" to true, you will get a list of the children of the Source.

Specify "Level" to limit how deep you want to traverse.

If you enter a "Document Type Alias", you will only export nodes of this type.

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.

Version History:

Version 1.3.0
Added support for exporting descendants, not just direct children.
You can also specify how deep you want to traverse for nodes.
Added option for including or excluding the source node.

Version 1.2.1
Added an option for removing line breaks. Fixed incompatibility with date fields and CMSImport.

Version 1.2
Fixed the bug where it would give an YSOD if there were no nodes of the specified document type alias under the source node.
Support for more node properties has also been added.
Also tweaked the output to properly encase double quotes. This means that it is compatible with CMSImport!


Package owner

Ove Andersen

Ove Andersen

Ove has 1541 karma points

Package Compatibility

This package is compatible with the following versions as reported by community members who have downloaded this package:
Untested or doesn't work on Umbraco Cloud
Version 8.18.x (untested)

You must login before you can report on package compatibility.

Previously reported to work on versions:

Package Information

  • Package owner: Ove Andersen
  • Created: 20/04/2010
  • Current version 1.3.0
  • License MIT
  • Downloads on Our: 4.6K

External resources