[Dhis2-devs] Can't save data elements as compulsory
Hello all, Trying to save data elements whose category combo is default but no luck. I get a toast saying that they were successfully saved but If I check again the data element(s) aren't shown as compulsory. Data elements that have a category combo other than default save just fine. Any help? Regards, -- George Gelaga-King Software Developer <http://www.ehealthafrica.org/> eHealth Africa 4A Renner Drive Off Wilkinson Road (behind Monoprix Supermarket) Freetown, Sierra Leone mobile +232 99890110 -- <https://web.facebook.com/EHealthAfrica> <https://twitter.com/eHealth_africa> <https://www.linkedin.com/company/1449060/> <https://www.instagram.com/ehealthafrica/> <https://www.youtube.com/channel/UCcgM_HhTcg5M9Ji3Of6QmUg> ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp
[Dhis2-devs] SMS command periods
Hi all, Is the period year supported when submitting data values via sms commands? If so, what’s the format? Thanks, George. ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp
Re: [Dhis2-devs] Default CategoryOptionCombo
Hi all, Following up on this email Post with the default category option combo id included: { "completeDate": "2017-05-29T00:00:00.000+", "dataSet": "XX", "orgUnit": "XXX", "period": "2017W22", "dataValues": [ { "categoryOptionCombo": "default_id", "dataElement": "XXX", "value": "false" } ] } This is the response from DHIS2 { "responseType": "ImportSummary", "status": "SUCCESS", "description": "Import process completed successfully", "importCount": { "imported": 0, "updated": 0, "ignored": 1, "deleted": 0 }, "conflicts": [ { "object": “default_category_option_combo_id", "value": "Category option combo not found or not accessible" } ], "dataSetComplete": "2017-05-29” } { "responseType": "ImportSummary", "status": "SUCCESS", "description": "Import process completed successfully", "importCount": { "imported": 0, "updated": 1, "ignored": 0, "deleted": 0 }, "dataSetComplete": "2017-05-29” } Thanks, George Post without the default category option combo id (blank): { "completeDate": "2017-05-17T00:00:00.000+", "dataSet": "XX", "orgUnit": "XX", "period": "2017W22", "dataValues": [ { "categoryOptionCombo": "", "dataElement": "XX", "value": "false" } ] } This is the response: On 29 May 2017, 16:15 +, George Gelaga-King , wrote: > Hello Everyone, > > I want to use the default category option combo when submitting data value > sets for some data values. I’ve noticed that if the user thats submitting > these values does not have the “ALL” permission specified in their user roles > they get the error message "Category option combo not found or not > accessible” and the data values with the default category option combos > aren’t updated/created. Previously we left the category option combos blank > for the data values that used default but we don’t want this to be the case > anymore as we’ve had issues when the default category option combo was > changed. > > In short: > How do you use the default category option combo when submitting data values > without giving the user role the “ALL” authority? > > Thanks, > George. ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp
[Dhis2-devs] Default CategoryOptionCombo
Hello Everyone, I want to use the default category option combo when submitting data value sets for some data values. I’ve noticed that if the user thats submitting these values does not have the “ALL” permission specified in their user roles they get the error message "Category option combo not found or not accessible” and the data values with the default category option combos aren’t updated/created. Previously we left the category option combos blank for the data values that used default but we don’t want this to be the case anymore as we’ve had issues when the default category option combo was changed. In short: How do you use the default category option combo when submitting data values without giving the user role the “ALL” authority? Thanks, George. ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp