← Back to team overview

dhis2-users team mailing list archive

Re: inport meta data to option set

 

Hi Simon

I think Knut is right.  You must have a code, and it must be unique across
all options (not only the ones in the option set you are importing).

Regards, Jason
On Dec 19, 2014 6:02 AM, "Knut Staring" <knutst@xxxxxxxxx> wrote:

> I think maybe you have to have something in the code field
> On 19 Dec 2014 02:54, "Simon Muyambo" <smmuyambo@xxxxxxxxx> wrote:
>
>> Dear Jason
>>
>>
>>
>> Please advise on the import of option set. I find option set is important
>> but the members are not when I use CSV import. Any ideas? See example below
>>
>> name,uid,code,option
>>
>> Color,,,"Blue"
>>
>> Color,,,"Green"
>>
>> Gender,,,"Female"
>>
>> Gender,,,"Male"
>>
>>
>>
>>
>>
>> *Regards*
>>
>> *Simon Muyambo*
>>
>>
>>
>>
>> __________ Information from ESET NOD32 Antivirus, version of virus
>> signature database 10900 (20141218) __________
>>
>> The message was checked by ESET NOD32 Antivirus.
>>
>> http://www.eset.com
>>
>> _______________________________________________
>> 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
>>
>>

References