← Back to team overview

dhis2-users team mailing list archive

Re: CSV-Import of Category Options

 

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@xxxxxxxxx <mailto:uwe@xxxxxxxxx>> 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@xxxxxxxxx <mailto:lars@xxxxxxxxx>> hat
    am 2. Juni 2016 um 17:29 geschrieben:
    >
    >
    > On Thu, Jun 2, 2016 at 10:27 AM, Uwe Wahser <uwe@xxxxxxxxx
    <mailto:uwe@xxxxxxxxx>> 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@xxxxxxxxx <mailto:lars@xxxxxxxxx>>
    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@xxxxxxxxx
    <mailto:uwe@xxxxxxxxx>> 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/%7Edhis2-users>
    > > > > Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
    <mailto:dhis2-users@xxxxxxxxxxxxxxxxxxx>
    > > > > Unsubscribe : https://launchpad.net/~dhis2-users
    <https://launchpad.net/%7Edhis2-users>
    > > > > More help   : https://help.launchpad.net/ListHelp
    > > > >
    > > >
    > > >
    > > >
    > > > --
    > > > Lars Helge Øverland
    > > > Lead developer, DHIS 2
    > > > University of Oslo
    > > > Skype: larshelgeoverland
    > > > lars@xxxxxxxxx <mailto:lars@xxxxxxxxx>
    > > > http://www.dhis2.org <https://www.dhis2.org/>
    > >
    >
    >
    >
    > --
    > Lars Helge Øverland
    > Lead developer, DHIS 2
    > University of Oslo
    > Skype: larshelgeoverland
    > lars@xxxxxxxxx <mailto:lars@xxxxxxxxx>
    > http://www.dhis2.org <https://www.dhis2.org/>




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



References