Re: [Dhis2-users] Sharing Dataset in Two Separate DHIS2 Instances

2017-07-27 Thread Derek Kahongo Mukenge
Hi Dung, Thank you for your help. I have one more question about OrgUnit. Is it possible to have just matching that with orgunit id corresponding to B instance and leave the other not corresponding when the script is executed? On Jul 26, 2017 05:32, "Dung Nguyen Anh"

Re: [Dhis2-users] Sharing Dataset in Two Separate DHIS2 Instances

2017-07-25 Thread Dung Nguyen Anh
Hi Derek and Vunda, The script will run in case that we have the same organisation unit tree between 2 intances (organisation unit id must be the same). So please sync the organisation units tree (also data elements, categories, data sets) before running this script. Please note that the

Re: [Dhis2-users] Sharing Dataset in Two Separate DHIS2 Instances

2017-07-25 Thread vunda limbe
Hi Dung, I have the same problem with Derek, but I tried to creat a list of all organisation unit and call its here : in var rootOrgunit2 = rootOrgnitld + listofOrgunit ; and use that list in this line ""`${config.instanceABaseUrl}/api/dataValueSets?orgUnit=${config.rootOrgunit2

Re: [Dhis2-users] Sharing Dataset in Two Separate DHIS2 Instances

2017-07-25 Thread Dung Nguyen Anh
Hi Derek, Sorry for the late response, I've been chased by some other works. Here is the script. 1. Go to this github address: https://github.com/hispvn/data-integration 2. You will see a green button with label "Clone or download". click "download zip" 3. Extract the ZIP file you will get

Re: [Dhis2-users] Sharing Dataset in Two Separate DHIS2 Instances

2017-07-19 Thread Derek Kahongo Mukenge
Hi Dung, Just a remember, Thanks, On Mon, Jul 17, 2017 at 10:55 AM, Derek Kahongo Mukenge < derek.eli...@gmail.com> wrote: > Hi Dung, > > Thanks for the explanation, I also have two instance and I can clone. > Provide me the next steps then I'll trry to run. > > Thanks. > > 2017-07-17 9:49

Re: [Dhis2-users] Sharing Dataset in Two Separate DHIS2 Instances

2017-07-17 Thread Derek Kahongo Mukenge
Hi Dung, Thanks for the explanation, I also have two instance and I can clone. Provide me the next steps then I'll trry to run. Thanks. 2017-07-17 9:49 GMT+01:00 Dung Nguyen Anh : > Hi Derek, > > Ok, let assume we have *instance A *(have the data set), and blank* >

Re: [Dhis2-users] Sharing Dataset in Two Separate DHIS2 Instances

2017-07-17 Thread Dung Nguyen Anh
Hi Derek, Ok, let assume we have *instance A *(have the data set), and blank* instance B *(which need to be synced with *instance A). *What we're going to do first is to clone the data set in *instance A *into* instance B*.* "Clone" *here mean we will export the data set (including data element,

Re: [Dhis2-users] Sharing Dataset in Two Separate DHIS2 Instances

2017-07-17 Thread Derek Kahongo Mukenge
Hi Em, Sorry for the delay for responding to your mail. I need to sync data value. If Dzung can guide me It'll be fine. Thanks. 2017-07-10 10:45 GMT+01:00 Em Le Hong : > Hi Derek, > > To make sure that we are on the same page, I would like you to confirm > that you

Re: [Dhis2-users] Sharing Dataset in Two Separate DHIS2 Instances

2017-07-10 Thread Em Le Hong
Hi Derek, To make sure that we are on the same page, I would like you to confirm that you want to sync metadata or sync data. If you only want to sync metadata, you can use DHIS2 feature, you can read on https://docs.dhis2.org/2.24/en/user/html/ch31s06.html and the instruction from Morten email.

Re: [Dhis2-users] Sharing Dataset in Two Separate DHIS2 Instances

2017-07-04 Thread Morten Olav Hansen
Hi Stephen As Em says, this requires a few manual steps. If you want to sync all metadata, you would use the /api/metadata endpoint, but if you are using a fairly recent version of DHIS 2, and want to sync data sets only (I assume metadata here, not data values) you could get the data set + all

[Dhis2-users] Sharing Dataset in Two Separate DHIS2 Instances

2017-07-04 Thread Stephen Gbanyan
Hi All, Is it possible to share a dataset from one DHIS2 instance to another so that when the data is entered into one it synchronizes with the other? Thanks -- __ Stephen M. Gbanyan, Jr. - ASc. BA. (Hons.) Director Health Information System Ministry of