Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I would like to include the ability to export all nodes of a specific doctype to either csv or excel/xml
at the moment I'm not really fussed what format I export to.
Aspose used to do a good job of this, but it doesn't seem to work with v7.
Can anyone suggest how best I could go about building this functionality in v7?
Just to clarify, I want export nodes of a specific doctype, along with all of their field data, e.g. if I'm exporting blog post nodes, I want to see the summary, date, body text, tags etc in the csv.
Did you find solution?
I think the best way is to create your own controller for that, can't find any package with csv export feature.
I think you're right. I'm just reading up now on how best to "roll my own".
The tricky bit seems to be how I can trigger my new controller from the umbraco backend.
You can add some button to Umbraco backend or link to your controller.
A few ideas:
I don't think I can use Linqpad oruSync as the exports need to be run by a user via the umbraco backend.
Generating the export is the easy bit really, but I've not messed with adding new sections to the backend since it all went to Angular, so I'm not 100% sure how you do it.
You can create your own section, look docs - https://our.umbraco.org/documentation/extending/
Or add your button where you want, where do you want?
You don't need to create a whole new section, you can just add a dashboard control. They're as easy as creating a user control (.ascx - yes they still work somehow) with a button in it.
That dashboard control sounds just the ticket! I'll give that a go. Thanks!
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted