← Back to team overview

dhis2-devs team mailing list archive

Re: What you export should be similar to what you import

 

Prosper I don't think that we will ever hope to have the CSV export as
complete as the xml/json variant.  I see two reasons:

1.  the flat csv data model makes it more work to map to complex objects
2.  the xml and json mappings are bound in the source code (using
annotations) whereas csv rendering always has to be done a s separate
process.

So it is unreasonable to expect we will have a csv expression of our entire
data model in the same way we have with xml/json.   Pieces may be added
over time to satisfy particular use cases.

Of course your original question about importing/exporting attributes is
different. Can you elaborate more on that?

On 26 June 2015 at 08:50, Prosper BT <ptb3000@xxxxxxxxx> wrote:

> Thanks Ola,
>
> First of all there is no export of Meta data in CSV format
>
> Secondly see all the meta data export options compared to what you can
> import using CSV
>
> [image: Inline image 2]
>
> [image: Inline image 1]
>
> On Fri, Jun 26, 2015 at 10:19 AM, Ola Hodne Titlestad <olati@xxxxxxxxxx>
> wrote:
>
>> Hi Prosper,
>>
>> Could you elaborate a bit more on this?
>>
>> Are you suggesting to put options in the import user interface to
>> select/filter what parts of a file to import?
>>
>> Or are you saying that the import process doesn't support importing
>> attributes at all, even when it's an option to export attributes?
>>
>> Ola
>> -------
>>
>> On Thu, 25 Jun 2015 08:37 Prosper BT <ptb3000@xxxxxxxxx> wrote:
>>
>>> Dear Team,
>>>
>>> It seems the lists of Meta data  importation and exportation options. I
>>> would assume we should have same options on what you can import and export
>>> as far as meta data is concerned.
>>>
>>> Like I can export attributes, but I cant import attributes
>>>
>>> Regards
>>>
>>> --
>>> Prosper Behumbiize, MPH
>>> Global HISP| University Of Oslo/HISP Uganda
>>> +256 751 751 776 | +256 776 139 139
>>> ptb3000@xxxxxxxxx | prosper@xxxxxxxxx | Skype: prospertb
>>>
>>>  _______________________________________________
>>> 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
>>>
>>
>
>
> --
> Prosper Behumbiize, MPH
> Global HISP| University Of Oslo/HISP Uganda
> +256 751 751 776 | +256 776 139 139
> ptb3000@xxxxxxxxx | prosper@xxxxxxxxx | Skype: prospertb
>
>
> _______________________________________________
> 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
>
>

PNG image

PNG image


Follow ups

References