← Back to team overview

dhis2-devs team mailing list archive

Re: re-sinding user account invitations

 

Very nice script, thanks. Maybe I should start scripting in Python as well!


On Fri, Oct 24, 2014 at 11:42 AM, Adebusoye Anifalaje <busoye@xxxxxxxx>
wrote:

> Hi JM,
>
> I had a similar requirement a few weeks back. Pierre from Jembi helped
> with python scripting to convert all the user invites in csv to Json. It
> was then relatively easy to have multiple invites sent out in one command.
>
> If it helps, I have attached the script below and copied Pierre. He had
> mentioned working on this as a contribution to the community.
>
> Best regards,
> Busoye
>
>
>
> On 24 Oct 2014, at 16:01, Jim Grace <jimgrace@xxxxxxxxx> wrote:
>
> Hi JM,
>
> Both your questions sound like good ideas to me, but unfortunately neither
> is supported in the current software.
>
> Cheers,
> Jim
>
> On Fri, Oct 24, 2014 at 8:52 AM, Juan Manuel Alcantara Acosta <
> jmalcantara1@xxxxxxxxx> wrote:
>
>> Hello Devs
>>
>> I recently had create 250+ user account invitations and I had some
>> problems along the way. Some users got codes that were rejected by the
>> system, I didn't find a reason for that but it happened to just a few
>> users. Others just couldn't  find the emails for multiple reasons and asked
>> to resend them. So, I have a couple of questions:
>>
>> - Is there a way to re-send the emails perhaps with a new code? Of course
>> other than deleting the invitations and creating them again. I imagine I'll
>> have to do this at least a couple of times to get every user to activate
>> their accounts and I'd like to avoid having to manually delete 200+
>> accounts every time I have to renew the invitations.
>>
>> - Is it possible to create multiple invitations with a single payload?
>>
>> Best regards,
>> JM
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
>
>

Follow ups

References