← Back to team overview

dhis2-users team mailing list archive

Re: DXF Detailed Metadata Export...

 

Ah yes "viewClass=detailed" is the parameter you need.  Lars is quite right
(as usual). I had forgot about that.  Much easier than processing outside.


On 9 April 2013 00:37, Lars Helge Øverland <larshelge@xxxxxxxxx> wrote:

>
>
>
> On Mon, Apr 8, 2013 at 11:18 PM, Rodolfo Melia <rmelia@xxxxxxxxxxxx>wrote:
>
>> Hi Bob - thanks for your detailed explanation. Because we use naming
>> conventions, we wanted to filter on the basis of name. 'WHP - ' is the
>> prefix that we were planning to use to locate quickly what we wanted to
>> export, and just moved into the one that can be exported.
>>
>> We want/ need to export the following elements:
>> 1. Data Elements - we can certainly put them in a a group if that
>> speed-up things. This is the critical one.
>> 2. Category Combos, Categories and associated options. We can certainly
>> rebuild them
>> 3. Form with sections. That will be nice !
>>
>> R
>>
>>
>
> Hi Rodolfo,
>
> thanks for the feedback. The detailed export was removed temporarily due
> to time pressure - we wanted to get DXF2 in for 2.12 but didn't have time
> to re-implement detailed export. Will put it back for 2.12.
>
> In the meantime your needs can be covered through the web api like this
> for data elements (example runs against demo, substitute ART query with WHP
> -):
>
>
> http://apps.dhis2.org/demo/api/dataElements/query/ART.xml?viewClass=detailed&paging=false&links=false
>
> query/<criteria>: define your query criteria
> viewClass: ask for all details about data elements
> paging: turn off paging
> links: skip links
>
> for category combos:
>
>
> http://apps.dhis2.org/demo/api/categoryCombos.xml?viewClass=detailed&paging=false&links=false
>
> for data sets and custom forms:
>
>
> http://apps.dhis2.org/demo/api/dataSets.xml?viewClass=detailed&paging=false&links=false
>
> You can then import these files on the other side.
>
> It's documented here:
>
> http://dhis2.org/doc/snapshot/en/user/html/ch25s04.html
>
>
> regards,
>
> Lars
>
>
>
>
>

References