← Back to team overview

dhis2-devs team mailing list archive

Re: (no subject)

 

Hi Moses,

You do not have the Category combo in the correct column. It needs to be in
the third from the right (as you can see from the header).

Best regards,
Jason


On Wed, Sep 16, 2015 at 11:27 AM, moses mwale <isoftcom.ic@xxxxxxxxx> wrote:

> Hello when I use just this
>
> name,uid,code,shortname,description,formname,domaintype,type,numbertype,texttype,aggregationoperator,categorycombo,url,zero
> "449_undergoing HIV testing",,"x6",449_undergoing HIV testing"
>
> But when I want to include the catecombo, it cant upload
> as show below
>
>
> name,uid,code,shortname,description,formname,domaintype,type,numbertype,texttype,aggregationoperator,categorycombo,url,zero
> "449_undergoing HIV testing",,"x6",449_undergoing HIV
> testing",,,,,,,,,"ZtFgzAsuXNm"
>
> assumming the categorycombo id is ZtFgzAsuXNm
>
> where am I going wrong?
>
>
> On Tue, Sep 15, 2015 at 1:44 PM, Jason Pickering <
> jason.p.pickering@xxxxxxxxx> wrote:
>
>> Hi Moses,
>> All values should be double quoted, and separated by a comma. If you are
>> importing with CSV, the column order is important (the header is not). More
>> information can be found in our documentation on CSV metadata import here (
>> https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s10.html) and
>> specifically Table 1.12.
>>
>> Regards,
>> Jason
>>
>>
>> On Tue, Sep 15, 2015 at 1:41 PM, moses mwale <isoftcom.ic@xxxxxxxxx>
>> wrote:
>>
>>> thank you.
>>> but am talking about these ,,,,,,,,,,,, or ,,"",,"",,""
>>>
>>> On Tue, Sep 15, 2015 at 1:38 PM, Jason Pickering <
>>> jason.p.pickering@xxxxxxxxx> wrote:
>>>
>>>> Hi Moses,
>>>>
>>>> Just put the  UID for the categorycombo "Gender" from your system in
>>>> the correct column (third from the last).
>>>>
>>>> name,uid,code,shortname,description,formname,
>>>> domaintype,type,numbertype,texttype,aggregationoperator,
>>>> categorycombo,url,zero
>>>> "undergoing HIV testing",,"x3,"undergoing HIV testing",,"",,"",,"",,,
>>>> ,XXXXXXXXX,,
>>>>
>>>> Regards,
>>>> Jason
>>>>
>>>>
>>>> On Tue, Sep 15, 2015 at 1:31 PM, moses mwale <isoftcom.ic@xxxxxxxxx>
>>>> wrote:
>>>>
>>>>> Hello Devs, when uploading data using a csv format which is shown
>>>>> below. how do I include a category combination e.g. gender
>>>>>
>>>>>
>>>>> name,uid,code,shortname,description,formname,domaintype,type,numbertype,texttype,aggregationoperator,categorycombo,url,zero
>>>>> "undergoing HIV testing",,"x3,"undergoing HIV
>>>>> testing",,"",,"",,"",,,,,,
>>>>> how do I separate them
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>>
>>>
>>>
>>
>>
>> --
>> Jason P. Pickering
>> email: jason.p.pickering@xxxxxxxxx
>> tel:+46764147049
>>
>
>


-- 
Jason P. Pickering
email: jason.p.pickering@xxxxxxxxx
tel:+46764147049

References