← Back to team overview

dhis2-devs team mailing list archive

Re: add more category into existing category combination

 

Thank lars

Lars Helge Øverland <larshelge@xxxxxxxxx> wrote:

>Hi Channara,
>
>
>it is possible, but has the implication that existing category option combos will be invalid. So for data values in your database linked to option combos for that category combination, then you must manually map them with SQL to the new counterparts. You can use the _categoryoptioncomboname resource table to make the mapping easier.
>
>
>To add more categories you will have to first add it to the category combination, then go to data admin > maintenance > generate category option combos.
>
>
>regards,
>
>
>Lars
>
>
>
>
>
>On Tue, Dec 16, 2014 at 5:07 AM, <rin.channara@xxxxxxxxx> wrote:
>
>Hi all,
>
>Do you know it will be lost data or not? if  I am have one datalement with three categoryoption and already have datavalue in each categoryoption in that dataelement, So now can I add a new more categoryoption?
>
>
>Thank you
>
>CHANNARA
>
>
>_______________________________________________
>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
>