Exporting multiple selected notes to a single csv text file?

In short, no. The simplest method is to use an agent. The agent exports nothing but also exports all its children like so. Let’s assume your template above is called ‘csv-item’. The agent’s export template, ‘csv-list’, is:

^children("csv-item")^

Agents (by default) don’t export child notes so exporting the agent will create sone file with your CSV data in it.

If you don’t want to use an agent, perhaps because thee selection doesn’t make an easy query, you can simulate the process with a container. Make a new container and give it the export template ‘csv-list’. Also, on the export inspector un-tick ‘export children’. Now make aliases of your selected notes and drag those into your new export container. Export and then delete the aliases; you might want to keep the container for the next ad-hoc export of this type.

1 Like