Dear Knut and Jason
Thanks for the advice. I have run some tests with unique codes but not sure
what the error means
name,uid,code,option
"Colorsm",,1b,"Blue1"
"Colorsm",,2g,"Green1"
"Gendersm",,3f,"Female1"
"Gendersm",,4m,"Male1"
Import summary
Import count
2 Imported
2 Updated
0 Ignored
Type Summary
Type
Imported
Updated
Ignored
OptionSet
2
2
0
Conflicts
Type
Element
Description
OptionSet
Gendersm
Unknown reference to IdentifiableObject{id=0, uid='Ja0hb0d1XGK',
code='Female1', name='Female1', created=Fri Dec 19 21:34:19 CAT 2014,
lastUpdated=Fri Dec 19 21:34:19 CAT 2014} (Option) on object
IdentifiableObject{id=0, uid='qvy5Iof8De3', code='3f', name='Gendersm',
created=null, lastUpdated=null} (OptionSet).
OptionSet
Colorsm
Unknown reference to IdentifiableObject{id=0, uid='jPyLUhETxWH', code='Green1',
name='Green1', created=Fri Dec 19 21:34:19 CAT 2014, lastUpdated=Fri Dec 19
21:34:19 CAT 2014} (Option) on object IdentifiableObject{id=0,
uid='JGfUphTsLuk', code='2g', name='Colorsm', created=null, lastUpdated=null}
(OptionSet).
OptionSet
Gendersm
Unknown reference to IdentifiableObject{id=0, uid='mJsHyly4UoH', code='Male1',
name='Male1', created=Fri Dec 19 21:34:19 CAT 2014, lastUpdated=Fri Dec 19
21:34:19 CAT 2014} (Option) on object IdentifiableObject{id=0,
uid='IxdnSBPyo9y', code='4m', name='Gendersm', created=null, lastUpdated=null}
(OptionSet).
OptionSet
Colorsm
Unknown reference to IdentifiableObject{id=0, uid='pSmhTjz0yIS', code='Blue1',
name='Blue1', created=Fri Dec 19 21:34:19 CAT 2014, lastUpdated=Fri Dec 19
21:34:19 CAT 2014} (Option) on object IdentifiableObject{id=0,
uid='MVHPvOLojgd', code='1b', name='Colorsm', created=null, lastUpdated=null}
(OptionSet).
Regards
Simon Muyambo
From: Knut Staring [mailto:[email protected]]
Sent: 19 December 2014 07:03
To: Simon Muyambo
Cc: Jason Pickering; [email protected]
Subject: Re: [Dhis2-users] inport meta data to option set
I think maybe you have to have something in the code field
On 19 Dec 2014 02:54, "Simon Muyambo" <[email protected]> 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 : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp
__________ 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 : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp