dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #51486
Re: How to upload data values for data elements generated in custom forms
Leke,
Have a look at the documentation, it gives the example of the csv import
file format:
https://docs.dhis2.org/2.27/en/developer/html/dhis2_developer_manual_full.html#webapi_data_values_csv
You need to specify data element and category option combo in separate
columns.
Vlad
On Mon, Jul 9, 2018 at 12:36 PM Olaleke Seweje <sewejeolaleke@xxxxxxxxx>
wrote:
> Hello all,
> Let me paint the scenario.
>
> I have data elements: Element A, Element B. Category combination:
> CategoryCombo C
>
> CategoryCombo C is attached to both elements and the elements are attached
> to a custom form data set.
>
> So DHIS created 2 new elements
> Element A, CatCombo C,
> Element B, CatCombo C
>
> I was not able to get/access the generated elements under Data Elements in
> Maintenance app but I accessed through the indicator calculations and got
> the UIDs in format xxx.yyy
>
> Now the problem is if i copy that UID to a data values upload CSV, it
> never uploads the data. Rather, it gives error message that the data
> element not found or inaccessible.
>
> So can anyone please help me with making it accessible/usable in an upload
> csv?
>
> I have attached a sample of my data values file.
>
> Thanks.
>
> --
> Regards,
> Leke Seweje
> _______________________________________________
> 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
>
References