[Dhis2-users] User accounts import

2013-01-21 Thread Martin Namutso
Guys - i have up to close to 100 people to create usernames for in DHIS2 system...Is there a way i can import these using the import export functionality..or is there any other way? - * Blessings regards* *Martin Namutso | IT Specialist | Mob: +256 782 006 662* *- If you think

Re: [Dhis2-users] User accounts import

2013-01-21 Thread Wilson,Randy
Hi Martin, Yes, we have done this quite a few times in Rwanda. I can send you the excel template and the SQL queries needed to update the various user table. The only thing we can't do is create the hashed password. Normally I send the spreadsheet to Knut or Bob Jolliffe and they create the

Re: [Dhis2-users] User accounts import

2013-01-21 Thread Ocaya Stephen
I *Think *another way could be to use a WebAPI ... though that wouldrequire you to do some coding (One time coding) on a import script ... But First try the Randy's alternative. --Stephen (META Project) On Mon, Jan 21, 2013 at 12:51 PM, Wilson,Randy rwil...@msh.org wrote: Hi Martin, **

Re: [Dhis2-users] User accounts import

2013-01-21 Thread Morten Olav Hansen
User support in the Web-API is not very good at the moment. I'm hoping to improve this in the future, but I would go with the approach outlined from Randy. Jason has had some luck with using R for this kind of stuff (including generating passwd). -- Morten On Mon, Jan 21, 2013 at 11:14 AM,

Re: [Dhis2-users] User accounts import

2013-01-21 Thread Jason Pickering
Hi Martin, Here is some really hacky R code to generate a bunch of users.The script is really basic, and really needs more work to automate it fully, but it will work. It will undoubtedly need to be tweaked to your needs, but you should be able to see the general approach. Regards, Jason On

Re: [Dhis2-users] User accounts import

2013-01-21 Thread Alvin B. Marcelo
Dear Randy, Will appreciate if we can also get a copy of the excel spreadhseet... Alvin Sent from my BB Curve 9320 -Original Message- From: Wilson,Randy rwil...@msh.org Sender: dhis2-users-bounces+alvin.marcelo=gmail@lists.launchpad.net Date: Mon, 21 Jan 2013 09:51:47 To: Martin

Re: [Dhis2-users] User accounts import

2013-01-21 Thread Wilson,Randy
Attached are some instructions and a template file that you can use to collect the data in excel - I would test on a local copy of the database before using on the production server. Randy From: dhis2-users-bounces+rwilson=msh@lists.launchpad.net

[Dhis2-users] From Excel to Single Event Program

2013-01-21 Thread Victor Garcia
Hi all, Some time ago I was looking for a way to introduce a large bulk of patient data registers into DHIS2. I didn't want to do that manually, so I wrote a java program to introduce the values right into the database. Now, I have modified the program in order to make it reusable. The program

[Dhis2-users] Clear data mart..could we add a user?

2013-01-21 Thread Jason Pickering
* INFO 2013-01-21 20:14:48,278 Cleared data mart (PerformMaintenanceAction.java [http-bio-8080-exec-9]) When this happens, it can be rather inconvenient. Could we add the user responsible for such an action? Best regards, Jason ___ Mailing list:

Re: [Dhis2-users] From Excel to Single Event Program

2013-01-21 Thread Jason Pickering
Hi Victor, This is great and sounds very useful. I love to see extras (read hacks) for DHIS2. I would suggest we maybe start some sort of repository on launch pad for this type of stuff. There is increasingly a lot of these types of utilities which are ending up in the trunk code, but there is

Re: [Dhis2-users] User accounts import

2013-01-21 Thread Brajesh Murari
Hi Martin, I am totally agreed with you and the painful process of user creation in DHIS2, specially, if some one need to create thousands of users by following steeps given in the link below http://www.dhis2.org/doc/snapshot/en/user/html/ch02s03.html But still, I would recommend you to follow

Re: [Dhis2-users] User accounts import

2013-01-21 Thread Jason Pickering
Hi Brajesh, I would be more than happy to allow you to create 300 users for me next time I need to do this, however, this is not really a feasible option for me! Please present some concrete ideas (preferably code) in terms of how to better solve this problem, which I think everyone would be

Re: [Dhis2-users] From Excel to Single Event Program

2013-01-21 Thread Alvin B. Marcelo
Dear Victor, This is for creating users of dhis2? Or for creating patients under orgunits? Sent from my BB Curve 9320 -Original Message- From: Victor Garcia vgarcia...@gmail.com Sender: dhis2-users-bounces+alvin.marcelo=gmail@lists.launchpad.net Date: Mon, 21 Jan 2013 13:01:54