← Back to team overview

dhis2-users team mailing list archive

Re: Importing Org Units

 

Hi Alistairs

In addition, if you need to generate such UIDs, you can create them via the API:
https://dhis2.github.io/dhis2-docs/master/en/developer/html/dhis2_developer_manual_full.html#d4967e4589


On 08.02.2016 08:14, Uwe Wahser wrote:
Hi Alistairs,

you can import org-units in csv format as described here:
http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s11.html#d5e995

If you specify the UIDs, please be aware to use only NumChars without spaces
etc. [A-Za-z0-9] starting with a Char. Length is exactly 11 chars, not less (as
opposed to the manual)

The actual import is done via the Import/Export app, Meta-data Import. If you
comply to the file-syntax it works smoothly.

Good Luck,

Uwe


Alistairs DIRUA <adirua@xxxxxxxxx> hat am 8. Februar 2016 um 02:00
geschrieben:


Hi,

Has anyone sucessfully imported a CSV file meta data of org units??

If so, can you please share how its done? Or if there is a link that helped
you, could you kindly share??

Regards,
Alistairs
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


--
*David Huser*
Informatics Specialist
Swiss Centre for International Health
Tel: +41 79 740 63 41
Skype: dafhus
david.huser@xxxxxxxxxxxx

*Swiss Tropical and Public Health Institute*
Socinstrasse 57, P.O. Box
4002 Basel, Switzerland
www.swisstph.ch

References