Creating users

Hi,

since i have a big deal of users to create in dhis2,
is there a way to import users from excel to dhis2 and what the template should look like

thanks in advance

Hi @azza
I am using simple table template (google sheets). Then I use a script to transform it into json payload.
E.G. in the template I specify following data:

Username Password Email Surname First name ID Roles Groups OUCapture OUOutput OUSearch

1 Like

thanks for your reply

is it okay with you to provide me with the exact headings of google sheet and the transcript to transform it to json…

1 Like

can very much recommend user extended app by eye see tea as well for importing up to 500 users at a time. DHIS2 App Hub that said, I’ve also started going down a json transformation process in order to include DB and UI language settings.

2 Likes

@Matthew_Boddie , yes I used it too. And it worked with 2.39 just fine.
But after uppgrade to 2.42 this app does not longer work for me.
@azza If user extended app works in your case - it is good solution.
But if not, let me know, I will PM you with my template approach

2 Likes