← Back to team overview

dhis2-devs team mailing list archive

Re: Importing large lists of optionvalues v2.21

 

That could be the case. You should be able to able to import then through
the normal Metadata importer, but you will need to transform your CSV to
either JSON or XML.

On Thu, Mar 17, 2016, 15:19 Pierre Dane <pierre@xxxxxxxxx> wrote:

> Thanks Jason.
>
> I'm not seeing that option in v2.21 or below ....
> Is it new in 2.22?
>
> Pierre
>
> On Thu, Mar 17, 2016 at 4:13 PM, Jason Pickering <
> jason.p.pickering@xxxxxxxxx> wrote:
>
>> Hi Pierre,
>> Are you sure you selected the right type of object to import?
>> Regards,
>> Jason
>>
>>
>>
>> ​
>>
>> On Thu, Mar 17, 2016 at 3:10 PM, Pierre Dane <pierre@xxxxxxxxx> wrote:
>>
>>> Hi all - this is hopefully an easy one.
>>> I'm trying to import bunch of items (500 or so) into an optionSet. Was
>>> hoping to use the Import-Export UI with a CSV as per the developer guide
>>> but this doesn't work (keeps trying to import them as dataelements)
>>> I must be doing something silly ...
>>>
>>> I can't find an API endpoint for this either.
>>>
>>> Any ideas?
>>>
>>> Thansk
>>>
>>> --
>>> *Pierre Dane*
>>>
>>> Jembi Health Systems
>>> Software Development Manager
>>> tel: +27 (0)21 701 0939
>>> cel: +27 (0)83 680 8274
>>> email: pierre@xxxxxxxxx
>>> web: www.jembi.org
>>>
>>>
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>>
>>
>> --
>> Jason P. Pickering
>> email: jason.p.pickering@xxxxxxxxx
>> tel:+46764147049
>>
>
>
>
> --
> *Pierre Dane*
>
> Jembi Health Systems
> Software Development Manager
> tel: +27 (0)21 701 0939
> cel: +27 (0)83 680 8274
> email: pierre@xxxxxxxxx
> web: www.jembi.org
>
>
>

PNG image


References