CSV-Import of Category Options

Dear all,

category options can take a short name (in addition to name and code) in the
Maintenance GUI.

However, the csv-format description in the developers manual (1.11.6. Other
objects) only gives the option to import name and code, but not the short name.
Is that a problem of the manual, or do I have to specify the short names
manually after importing the options? (are the short names used anywhere,
anyway?)

Regards,

Uwe

Hi Uwe,

right. I have made a fix now in trunk and 2.23 that enables import of short names for the following objects:

Category option, data element group, organisation unit group, category option group.

regards,

Lars

···

On Thu, Jun 2, 2016 at 3:21 AM, Uwe Wahser uwe@wahser.de wrote:

Dear all,

category options can take a short name (in addition to name and code) in the

Maintenance GUI.

However, the csv-format description in the developers manual (1.11.6. Other

objects) only gives the option to import name and code, but not the short name.

Is that a problem of the manual, or do I have to specify the short names

manually after importing the options? (are the short names used anywhere,

anyway?)

Regards,

Uwe


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org

Sounds good, thank you! What would be the CSV-format? Just another column at
the end?

Are the ShortNames being used anywhere in the guy / reports / etc... ?

Regards, Uwe

···

Lars Helge Øverland <lars@dhis2.org> hat am 2. Juni 2016 um 16:59 geschrieben:

Hi Uwe,

right. I have made a fix now in trunk and 2.23 that enables import of short
names for the following objects:

Category option, data element group, organisation unit group, category
option group.

regards,

Lars

On Thu, Jun 2, 2016 at 3:21 AM, Uwe Wahser <uwe@wahser.de> wrote:

> Dear all,
>
> category options can take a short name (in addition to name and code) in
> the
> Maintenance GUI.
>
> However, the csv-format description in the developers manual (1.11.6. Other
> objects) only gives the option to import name and code, but not the short
> name.
> Is that a problem of the manual, or do I have to specify the short names
> manually after importing the options? (are the short names used anywhere,
> anyway?)
>
> Regards,
>
> Uwe
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help : https://help.launchpad.net/ListHelp
>

--
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
lars@dhis2.org
http://www.dhis2.org <https://www.dhis2.org/&gt;

Sounds good, thank you! What would be the CSV-format? Just another column
at
the end?

Yes, after code. Updated docs now.

Are the ShortNames being used anywhere in the guy / reports / etc... ?

Yes e.g. in analytics apps.

···

On Thu, Jun 2, 2016 at 10:27 AM, Uwe Wahser <uwe@wahser.de> wrote:

Regards, Uwe

> Lars Helge Øverland <lars@dhis2.org> hat am 2. Juni 2016 um 16:59
geschrieben:
>
>
> Hi Uwe,
>
> right. I have made a fix now in trunk and 2.23 that enables import of
short
> names for the following objects:
>
> Category option, data element group, organisation unit group, category
> option group.
>
> regards,
>
> Lars
>
>
>
> On Thu, Jun 2, 2016 at 3:21 AM, Uwe Wahser <uwe@wahser.de> wrote:
>
> > Dear all,
> >
> > category options can take a short name (in addition to name and code)
in
> > the
> > Maintenance GUI.
> >
> > However, the csv-format description in the developers manual (1.11.6.
Other
> > objects) only gives the option to import name and code, but not the
short
> > name.
> > Is that a problem of the manual, or do I have to specify the short
names
> > manually after importing the options? (are the short names used
anywhere,
> > anyway?)
> >
> > Regards,
> >
> > Uwe
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~dhis2-users
> > Post to : dhis2-users@lists.launchpad.net
> > Unsubscribe : https://launchpad.net/~dhis2-users
> > More help : https://help.launchpad.net/ListHelp
> >
>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> lars@dhis2.org
> http://www.dhis2.org <https://www.dhis2.org/&gt;

--
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
lars@dhis2.org
http://www.dhis2.org <https://www.dhis2.org/&gt;

I tried import for category options and that seems to work. However - I can't
seem to find any use of the shortnames in pivot or visualiser - at least for
category options. Would be useful, though.

Have a nice evening,

Uwe

···

Lars Helge Øverland <lars@dhis2.org> hat am 2. Juni 2016 um 17:29 geschrieben:

On Thu, Jun 2, 2016 at 10:27 AM, Uwe Wahser <uwe@wahser.de> wrote:

> Sounds good, thank you! What would be the CSV-format? Just another column
> at
> the end?
>
>
Yes, after code. Updated docs now.

> Are the ShortNames being used anywhere in the guy / reports / etc... ?
>
>
Yes e.g. in analytics apps.

> Regards, Uwe
>
> > Lars Helge Øverland <lars@dhis2.org> hat am 2. Juni 2016 um 16:59
> geschrieben:
> >
> >
> > Hi Uwe,
> >
> > right. I have made a fix now in trunk and 2.23 that enables import of
> short
> > names for the following objects:
> >
> > Category option, data element group, organisation unit group, category
> > option group.
> >
> > regards,
> >
> > Lars
> >
> >
> >
> > On Thu, Jun 2, 2016 at 3:21 AM, Uwe Wahser <uwe@wahser.de> wrote:
> >
> > > Dear all,
> > >
> > > category options can take a short name (in addition to name and code)
> in
> > > the
> > > Maintenance GUI.
> > >
> > > However, the csv-format description in the developers manual (1.11.6.
> Other
> > > objects) only gives the option to import name and code, but not the
> short
> > > name.
> > > Is that a problem of the manual, or do I have to specify the short
> names
> > > manually after importing the options? (are the short names used
> anywhere,
> > > anyway?)
> > >
> > > Regards,
> > >
> > > Uwe
> > >
> > > _______________________________________________
> > > Mailing list: https://launchpad.net/~dhis2-users
> > > Post to : dhis2-users@lists.launchpad.net
> > > Unsubscribe : https://launchpad.net/~dhis2-users
> > > More help : https://help.launchpad.net/ListHelp
> > >
> >
> >
> >
> > --
> > Lars Helge Øverland
> > Lead developer, DHIS 2
> > University of Oslo
> > Skype: larshelgeoverland
> > lars@dhis2.org
> > http://www.dhis2.org <https://www.dhis2.org/&gt;
>

--
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
lars@dhis2.org
http://www.dhis2.org <https://www.dhis2.org/&gt;

You can set “Display property to use in analytics” under profile > user settings to control rendering of meta-data in the left side panel.

···

On Thu, Jun 2, 2016 at 11:51 AM, Uwe Wahser uwe@wahser.de wrote:

I tried import for category options and that seems to work. However - I can’t

seem to find any use of the shortnames in pivot or visualiser - at least for

category options. Would be useful, though.

Have a nice evening,

Uwe

Lars Helge Øverland lars@dhis2.org hat am 2. Juni 2016 um 17:29 geschrieben:

On Thu, Jun 2, 2016 at 10:27 AM, Uwe Wahser uwe@wahser.de wrote:

Sounds good, thank you! What would be the CSV-format? Just another column

at

the end?

Yes, after code. Updated docs now.

Are the ShortNames being used anywhere in the guy / reports / etc… ?

Yes e.g. in analytics apps.

Regards, Uwe

Lars Helge Øverland lars@dhis2.org hat am 2. Juni 2016 um 16:59

geschrieben:

Hi Uwe,

right. I have made a fix now in trunk and 2.23 that enables import of

short

names for the following objects:

Category option, data element group, organisation unit group, category

option group.

regards,

Lars

On Thu, Jun 2, 2016 at 3:21 AM, Uwe Wahser uwe@wahser.de wrote:

Dear all,

category options can take a short name (in addition to name and code)

in

the

Maintenance GUI.

However, the csv-format description in the developers manual (1.11.6.

Other

objects) only gives the option to import name and code, but not the

short

name.

Is that a problem of the manual, or do I have to specify the short

names

manually after importing the options? (are the short names used

anywhere,

anyway?)

Regards,

Uwe


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org <https://www.dhis2.org/>

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org <https://www.dhis2.org/>

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org

Got it, that's much better. Would it be a big thing to extend the selection to codes as well, and to offer shortnames in the download menue (currently I can only see ID, Name and Code)?

Best regards, Uwe

···

Am 02.06.2016 um 19:33 schrieb Lars Helge Øverland:

You can set "Display property to use in analytics" under profile > user settings to control rendering of meta-data in the left side panel.

On Thu, Jun 2, 2016 at 11:51 AM, Uwe Wahser <uwe@wahser.de > <mailto:uwe@wahser.de>> wrote:

    I tried import for category options and that seems to work.
    However - I can't
    seem to find any use of the shortnames in pivot or visualiser - at
    least for
    category options. Would be useful, though.

    Have a nice evening,

    Uwe

    > Lars Helge Øverland <lars@dhis2.org <mailto:lars@dhis2.org>> hat
    am 2. Juni 2016 um 17:29 geschrieben:
    >
    > On Thu, Jun 2, 2016 at 10:27 AM, Uwe Wahser <uwe@wahser.de > <mailto:uwe@wahser.de>> wrote:
    >
    > > Sounds good, thank you! What would be the CSV-format? Just
    another column
    > > at
    > > the end?
    > >
    > Yes, after code. Updated docs now.
    >
    > > Are the ShortNames being used anywhere in the guy / reports /
    etc... ?
    > >
    > Yes e.g. in analytics apps.
    >
    > > Regards, Uwe
    > >
    > > > Lars Helge Øverland <lars@dhis2.org <mailto:lars@dhis2.org>>
    hat am 2. Juni 2016 um 16:59
    > > geschrieben:
    > > >
    > > > Hi Uwe,
    > > >
    > > > right. I have made a fix now in trunk and 2.23 that enables
    import of
    > > short
    > > > names for the following objects:
    > > >
    > > > Category option, data element group, organisation unit
    group, category
    > > > option group.
    > > >
    > > > regards,
    > > >
    > > > Lars
    > > >
    > > > On Thu, Jun 2, 2016 at 3:21 AM, Uwe Wahser <uwe@wahser.de > <mailto:uwe@wahser.de>> wrote:
    > > >
    > > > > Dear all,
    > > > >
    > > > > category options can take a short name (in addition to
    name and code)
    > > in
    > > > > the
    > > > > Maintenance GUI.
    > > > >
    > > > > However, the csv-format description in the developers
    manual (1.11.6.
    > > Other
    > > > > objects) only gives the option to import name and code,
    but not the
    > > short
    > > > > name.
    > > > > Is that a problem of the manual, or do I have to specify
    the short
    > > names
    > > > > manually after importing the options? (are the short names
    used
    > > anywhere,
    > > > > anyway?)
    > > > >
    > > > > Regards,
    > > > >
    > > > > Uwe
    > > > >
    > > > > _______________________________________________
    > > > > Mailing list: https://launchpad.net/~dhis2-users
    <https://launchpad.net/~dhis2-users&gt;
    > > > > Post to : dhis2-users@lists.launchpad.net
    <mailto:dhis2-users@lists.launchpad.net>
    > > > > Unsubscribe : https://launchpad.net/~dhis2-users
    <https://launchpad.net/~dhis2-users&gt;
    > > > > More help : https://help.launchpad.net/ListHelp
    > > > >
    > > >
    > > > --
    > > > Lars Helge Øverland
    > > > Lead developer, DHIS 2
    > > > University of Oslo
    > > > Skype: larshelgeoverland
    > > > lars@dhis2.org <mailto:lars@dhis2.org>
    > > > http://www.dhis2.org <https://www.dhis2.org/&gt;
    > >
    >
    > --
    > Lars Helge Øverland
    > Lead developer, DHIS 2
    > University of Oslo
    > Skype: larshelgeoverland
    > lars@dhis2.org <mailto:lars@dhis2.org>
    > http://www.dhis2.org <https://www.dhis2.org/&gt;

--
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
lars@dhis2.org <mailto:lars@dhis2.org>
http://www.dhis2.org <https://www.dhis2.org/&gt;