← Back to team overview

dhis2-devs team mailing list archive

Re: [Dhis2-users] Meta data import

 

Hi,

David, I agree - and the most obvious candidate is OrgUnitGroupMEMBERS.
Adding OrgUnitGroups is usually easy even if you do it manually via the UI,
because there are maybe 20-30-40 of them. But if you have a hierarchy with
let us say 10,000 orgunits, and each is a member of 4-5 groups, then you
need to set up 40-50,000 records.....

I don't understand why e.g. OrgUnitgroupMember export/import to CSV is not
there already, actually - it is a very simple format with only two fields.

regards
Calle

On 5 October 2016 at 21:29, David Muturi <dnmuturi@xxxxxxxxx> wrote:

> Hi Prosper,
> Thanks for your feedback. Most users tend to do the configs in excel and
> convert into CSV for import.Most pple have been forced to develop some
> scripts for some  of the missing object types to upload the configs via the
> api using either JSON/XML. Adding some of the missing object types will
> make configuration work more user friendly and less time consuming.
> rgds
> David
>
> 2016-10-05 22:17 GMT+03:00 Prosper BT <ptb3000@xxxxxxxxx>:
>
>> Dear David,
>>
>> Still the same list in 2.25 see attached for CSV metadata import, with
>> only addition of translation. I think to keep it simple as DHIS2 should be,
>> more CSV import formats should be added.
>>
>> [image: Inline image 1]
>>
>> On Wed, Oct 5, 2016 at 9:05 PM, David Muturi <dnmuturi@xxxxxxxxx> wrote:
>>
>>> Hi Morten,
>>> I am using version 2.22, but will upgrade soon. Are there plans to
>>> support CSV import ?  I have often used the api to send in a json  payload
>>> for these objects is the syntax for these objects the same as the one sent
>>> via the api ?
>>> rgds
>>> David
>>>
>>> 2016-10-05 20:56 GMT+03:00 Morten Olav Hansen <morten@xxxxxxxxx>:
>>>
>>>> Hi
>>>>
>>>> Which version of DHIS 2 are you on? all object types should be
>>>> supported for JSON/XML.
>>>>
>>>> --
>>>> Morten Olav Hansen
>>>> Senior Engineer, DHIS 2
>>>> University of Oslo
>>>> http://www.dhis2.org
>>>>
>>>> On Thu, Oct 6, 2016 at 12:51 AM, David Muturi <dnmuturi@xxxxxxxxx>
>>>> wrote:
>>>>
>>>>> Hi Devs,
>>>>> Dhis2 currently supports import of the following object types:-
>>>>>
>>>>>         1.  Data elements
>>>>>         2·   Data element groups
>>>>>           3·   Category options
>>>>>           4 · Category option groups
>>>>>           5.·  Organisation units
>>>>>           6·   Organisation unit groups
>>>>>           7·  Validation rules
>>>>>           8.  Option sets
>>>>> Are there plans to include the following object types in future?
>>>>>
>>>>> a)      Indicators and indicator groups
>>>>>
>>>>> b)      Categories and Category Combinations
>>>>>
>>>>> c)       Indicators and Indicator groups
>>>>>
>>>>> d)      Users
>>>>>
>>>>> e)      Tracked entity Instance
>>>>>
>>>>> f)       Enrollments
>>>>>
>>>>> g)      Events
>>>>>
>>>>> I have relied on developing scripts to import the above missing
>>>>> objects such as users via the API, is there an app that already does this?
>>>>> This affects initial project configs where the above object types are many
>>>>> and any manual upload is bound to take a lot of time.
>>>>>
>>>>> rgds
>>>>>
>>>>> David
>>>>>
>>>>> _______________________________________________
>>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>>> 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
>>>
>>>
>>
>>
>> --
>> Prosper Behumbiize, MPH
>> Global DHIS2 Implementation| HISP Uganda/University Of Oslo
>> +256 752 751 776 | +256 776 139 139
>> prosper@xxxxxxxxxxxxxx <ptb3000@xxxxxxxxx> | prosper@xxxxxxxxx | Skype:
>> prospertb
>>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 

*******************************************

Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedberg@xxxxxxxxx

Skype: calle_hedberg

*******************************************

PNG image


References