Hi Olav,
just FYI we are introducing a new API feature in 2.23 (in trunk now) where you can easily export a program with its metadata. This can be done at:
api/programs//metadata.json
Of course - exactly what to include in the export will be debated but we have tried to include a reasonable set of metadata objects, like data elements, attributes, categor*ies.
https://blueprints.launchpad.net/dhis2/+spec/simple-program-metadata-export
regards,
Lars
···
On Tue, Apr 12, 2016 at 10:07 AM, janhenrik.overland@gmail.com wrote:
----Forwarded using Multi-Forward Chrome Extension—
From: Olav Poppe
Date: Mon Apr 11 2016 19:24:58 GMT+0530 (IST)
Subject: [Dhis2-devs] Metadata export (tracker)
To: DHIS Users , DHIS DevelopersHi all,
I’m looking at ways to export specific metadata with “dependencies” from DHIS, initially a tracker program. The goal is to export the program with all dependencies (program stage(s), data elements, option sets, data entry form, program validation etc) as easily as possible. Before I try to script something myself I thought I’d check if anyone else has already done something similar and have tools or experiences to share, OR if there are some clever ways to do this already through GUI/API that I haven’t been able to identify?
Regards
Olav
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp
–
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland