← Back to team overview

dhis2-users team mailing list archive

Re: Data visualizer error

 

I also want to point out that you can use the web-api to generate UIDs if
you need them:
http://<server>/api/system/id?n=10

Example:
http://apps.dhis2.org/dev/api/system/id?n=10

(generates 10 uids)

--
Morten


On Fri, Jan 31, 2014 at 3:07 PM, Lars Helge Øverland <larshelge@xxxxxxxxx>wrote:

> Hi Marko,
>
> thanks for the screenshot. If you look closely there is a dollar sign $ in
> the org unit uid.
>
> The requirements for uids are:
>
> - exactly 11 characters
> - numbers and upper/lowercase letters (no special characters)
> - starting with letter
>
> So likely these uids have been generated externally. The reasons why we
> are a bit strict on this issue is that we want to keep the uids as valid
> database column names and especially valid XML element names / JSON
> attributes in order to be better positioned for future development of
> exchange formats.
>
> regards,
>
> Lars
>
>
>
> On Thu, Jan 30, 2014 at 7:37 PM, Marko David Garcia <
> markodavidgm@xxxxxxxxx> wrote:
>
>> Hi Lars.
>>
>> Some organization don't start with number.
>>
>> Attached the print screen file.
>>
>> Thank you very much.
>>
>>
>> 2014-01-29 Lars Helge Øverland <larshelge@xxxxxxxxx>:
>>
>> Hi Marko,
>>>
>>> the problem is very likely that the uid of your org unit is starting
>>> with a number. Uids must start with a letter, and your uid is likely
>>> generated externally. You can check this by using chrome browser and
>>>
>>> - click F12
>>> - go to network
>>> - run your visualizer chart
>>> - have a look in the analytics query going to the server, in the url
>>> after the ou= part
>>>
>>> You can also paste that url here so we can have a look.
>>>
>>> regards,
>>>
>>> Lars
>>>
>>>
>>
>>
>> --
>> Cordialmente,
>>
>>
>>
>> *Ing. Marko David Garcia M.*
>>
>>
>>
>> *Área de Sistemas integrados de Información Secretaría de Salud
>> Departamental del Cauca*
>>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>

References