← Back to team overview

dhis2-users team mailing list archive

Re: [Dhis2-devs] Response was not a WebMessage with the expected format

 

Stanley,

1. You can use api calls to add or remove OUs from groups.

2. You can use SQL scripts to do the same

3. If your instance is on localhost - permanently or temporarily - you can
use e.g. MS Access via ODBC to populate the OrgUnitGroupMember table. The
table itself is simple - just two fields - so it's easy to manipulate.

That table is regrettably not part of meta-data export/import, so you
cannot e.g. dump out a CSV file and then manipulate that before importing
it again. I've written a JIRA issue for this - DHIS2-658

Regards
Calle

On 5 February 2017 at 12:36, Stanley Kalyati <skalyati@xxxxxxxxx> wrote:

> Thanks Calle.
>
> I hope the dev team will work on it soon as i am stuck now.
>
> Stanley
>
> On Feb 5, 2017 12:34 PM, "Calle Hedberg" <calle.hedberg@xxxxxxxxx> wrote:
>
>> Hi
>>
>> It's a (serious) bug - reported on JIRA DHIS2-570 on the 25th January.
>>
>> Nothing's been done about it so far, most likely due to the rush to
>> finalise 2.26. It's probably a simple bug to fix since allocating OUs to
>> groups worked in previous versions.
>>
>> Regards
>> calle
>>
>> On 5 February 2017 at 12:21, Stanley Kalyati <skalyati@xxxxxxxxx> wrote:
>>
>>> I am using DHIS2 2.25 and when i want to add a Facility to a particular
>>> group,am getting the above message.What does that mean and if there is
>>> someone who can help out.
>>>
>>> I cant add facilities to any groups.
>>>
>>> Stanley
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>>
>>
>> --
>>
>> *******************************************
>>
>> Calle Hedberg
>>
>> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>>
>> Tel/fax (home): +27-21-685-6472 <+27%2021%20685%206472>
>>
>> Cell: +27-82-853-5352 <+27%2082%20853%205352>
>>
>> Iridium SatPhone: +8816-315-19119 <+881%206%20315%2019119>
>>
>> Email: calle.hedberg@xxxxxxxxx
>>
>> Skype: calle_hedberg
>>
>> *******************************************
>>
>>


-- 

*******************************************

Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedberg@xxxxxxxxx

Skype: calle_hedberg

*******************************************

References