How to export data from Senaite.Lims and how to install senaite.exporter?

Dear Colleagues,

I understand that Senaite.Lims uses ZODB for data storage and manipulation. Are there any tool available for browsing and manipulating the data? Or at minimum, exporting data to other format?

From, I saw senaite.exporter, so I added to it buildout.cfg:

eggs =

Then did " sudo -u plone_buildout bin/buildout ";
The error message I got is:

“Couldn’t find index page for ‘senaite.exporter’ (maybe misspelled?)
Getting distribution for ‘senaite.exporter’.
Couldn’t find index page for ‘senaite.exporter’ (maybe misspelled?)
Installing instance.
Getting distribution for ‘senaite.exporter’.
Error: Couldn’t find a distribution for ‘senaite.exporter’.”

I guess I will get similar errors if I add any other senaite add-ons. Please advise. Thanks a lot! – Lei

I found zodbbrowser

and still try to understand how to install it …

Hi @fatfatcoyote , there is no release of senaite.exporter available in PyPi and this is the reason you got errors when running bin/buildout. senaite.exporter is an add-on that allows you to export data from listings into CSV or XLS, but does not have nothing to do with db migration or ZODB data manipulation.

ZMI (Zope Management Interface) is the default tool that comes with the system, from which you can access to catalogs, objects, permissions, etc. ZMI is very powerful, but requires a deep knowledge of the system, otherwise you can easily end up with a broken instance. Documentation here:

If you are interested on accessing to the database records, browse through them, get their properties and values, etc. I strongly suggest you to use senaite.jsonapi, a RESTful JSON API that allows you to interact/query the system:

This add-on is shaped the same way as plone.jsonapi.routes, so most of the documentation available for the latter will work for senaite.jsonapi too:

For example, if you want to get all clients from the system, you can do this search

Or if you want to search an AnalysisRequest by id:

In order to get familiar with this tool, we strongly recommend to install a JSON interpreter extension for your browser (there are plenty of them, e.g. say “JSON Lite” for Firefox or “JSONView” for Chrome, etc.)

1 Like

Where can I download some sample demo data for testing?

What is the testing credential for

@emmanwou3 You can ask Senaite Service Providers for demo access. As far as I know, is not working or offering Senaite.

To reopen this question…
I can get senaite.exporter to be visible as a Plone add on by cloning from Github, making an egg of it locally, then adding it to the buildout.cfg as a development egg.
However, when I activate it and restart the instance, it’s showing up as an activated add-on, but nothing seems to show up in Senaite itself.
I’m a python novice at the most optimistic…so any attempts to fix this without guidance have not gone anywhere…
Any suggestions?
Many thanks,
-Adam Mumford

Hi @acmumford, if you are already coding an addon and want to export data, I think that your best bet is to code your own functionality, for instance a Plone View (, that when called it downloads the data you want in the format you want.

You have an API that makes the developing process in Plone a bit easier: and some examples here (the “API” ones).