Re: [Dhis2-users] [Dhis2-devs] DHIS2 2.30 IMPORT/EXPORT ISSUE

2018-11-06 Thread Muhammad Adeel
Hi Peter / Kris,

We fixed the bug related to importing CSV (file extension) in caps.
Can you guys send us the files to test so we can resolve the bugs.
Additionally you can file bugs in jira.dhis2.org and assign me to resolve
them.

Regards,
Adeel

On Tue, Nov 6, 2018 at 6:38 AM Viet Nguyen  wrote:

> Hi Peter,
>
> Please help to report the issues you got on jira.dhis2.org so we could
> check and fix the import/export app.
>
> Thanks,
>
> On Tue, Nov 6, 2018 at 10:24 AM Peter D Lubambi 
> wrote:
>
>> I think the import function in dhis2 2.30 is not working completely, can
>> someone confirm otherwise? I, as well tried importing in 2.30 several times
>> it never worked, had to downgrade to 2.29 then I was able to import.
>>
>> Peter
>>
>> On Mon, Nov 5, 2018, 3:09 PM Kristiyan Panayotov <
>> kristi...@logicaloutcomes.net wrote:
>>
>>> Hi all – thank for your support and suggestions.
>>>
>>>
>>>
>>> We managed to find a solution to our problem. We downgraded to version
>>> 2.29 and found a good balance between using the new Android app together
>>> with import functionalities.
>>> For importing Org Units through a .csv file in version 2.30 – I will say
>>> that it was not possible after all. We tried many different combinations
>>> for creating the .csv files and none was successful. Together with the fact
>>> that some of the Org Unit csv files have been successfully imported in
>>> versions 2.25 – 2.29
>>>
>>>
>>>
>>> Regards and thank you all
>>>
>>> Kris
>>>
>>>
>>>
>>> *From:* Viet Nguyen [mailto:v...@dhis2.org]
>>> *Sent:* Friday, November 2, 2018 10:24 AM
>>> *To:* dco...@baosystems.com
>>> *Cc:* Georgi Chakarov ; dhis2-users <
>>> dhis2-users@lists.launchpad.net>; Kristiyan Panayotov <
>>> kristi...@logicaloutcomes.net>; dhis2-devs <
>>> dhis2-d...@lists.launchpad.net>
>>> *Subject:* Re: [Dhis2-devs] DHIS2 2.30 IMPORT/EXPORT ISSUE
>>>
>>>
>>>
>>> Hi Georgi and Kristiyan,
>>>
>>>
>>>
>>> Could you try to change the file extension from ".CSV" to lowercase and
>>> import again ? I think this is a bug, already reported to the app developer
>>> and he's fixing it.
>>>
>>>
>>>
>>> We also have added the import summary which will show all the import
>>> errors. It's on master and being backported to 2.30.
>>>
>>>
>>>
>>> Regards,
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Fri, Nov 2, 2018 at 5:04 AM Dan Cocos  wrote:
>>>
>>> Is it encoded as UTF-8? I noticed as few “special” charters and that
>>> might cause problems.
>>>
>>>
>>>
>>> Dan Cocos
>>>
>>> *BAO Systems*
>>>
>>> On Nov 1, 2018, at 5:33 PM, Georgi Chakarov 
>>> wrote:
>>>
>>> Hi Blake,
>>>
>>>
>>>
>>> Thanks for your response!
>>>
>>>
>>>
>>> I am a colleague of Kristiyan. We use csv format as we have always used
>>> for DHIS2 versions 2.28 and below.
>>>
>>> So it seems that DHIS2 changed standards for csv for some reason. The
>>> exact same csv that Kris sent you was used to import org units in 2.28
>>> instance and now is not recognized. We compared the template layout in 2.30
>>> and it matches a 100% our file. I have also tried a csv export software
>>> with different options of csv files with no luck.
>>>
>>>
>>>
>>> Maybe you could advice on how you generate csv files?
>>>
>>>
>>>
>>> Regards,
>>>
>>> Georgi
>>>
>>>
>>>
>>> *From:* Blake Hansen 
>>> *Sent:* Thursday, November 1, 2018 7:17 PM
>>> *To:* Kristiyan Panayotov 
>>> *Cc:* calle.hedb...@gmail.com; DHIS 2 Users list <
>>> dhis2-users@lists.launchpad.net>; Georgi Chakarov <
>>> geo...@logicaloutcomes.net>; dhis2-devs 
>>> *Subject:* Re: [Dhis2-devs] DHIS2 2.30 IMPORT/EXPORT ISSUE
>>>
>>>
>>>
>>> Hi Kris,
>>>
>>>
>>>
>>> I haven’t looked at your .csv file, but from your screenshot it is clear
>>> DHIS2 is not recognising it as a .csv file type. If it were, you would see
>>> an extra menu appear and be able to select the object type you are
>>> attempting to create (see my screenshot). This is not visible in your
>>> screenshot.
>>>
>>>
>>>
>>> 
>>>
>>>
>>>
>>> Some things to check:
>>>
>>> Has your template *strictly *followed the csv template layout in the
>>> documentation?
>>> https://docs.dhis2.org/2.30/en/developer/html/webapi_csv_metadata_import.html#webapi_csv_org_units
>>>
>>> Is your .csv format the correct .csv format for DHIS2? (Some .csv in
>>> francophone countries struggle as they use semi-colon)
>>>
>>>
>>>
>>> Hopefully something there is helpful. If not, it may be a bug but let’s
>>> test those things first.
>>>
>>> It is also worth checking whether your import strategies are doing what
>>> you expect. The default on the new system is different to the old.
>>> Strategies are also found in the documentation - section 1.11
>>>
>>>
>>>
>>> All best,
>>>
>>> Blake
>>>
>>>
>>>
>>>
>>>
>>> --
>>>
>>>
>>>
>>>
>>> 
>>>
>>> *Blake Hansen*
>>> Projects Implementation Manager, BAO Systems
>>>
>>> +1 202-536-1541 | bhan...@baosystems.com | http://www.baosystems.com |
>>>
>>> Skype: blake.a.hansen | 2900 K Street, Suite 507, Washington D.C. 20007
>>>
>>>
>>>
>>> Register 

Re: [Dhis2-users] ver 2.30 's import/export app can't import metadata

2018-09-03 Thread Muhammad Adeel
Hi 此致,

Seems like the database tables have not been created yet during setup or
there is some error in the backend API.


On Tue, 4 Sep 2018 at 02:13, 林晓东  wrote:

> Hi,all,
>
>I have git clone v2.30 from git hub, and build sucessful. deploy to
> tomcat with empty db.when startup got :
> Caused by: org.postgresql.util.PSQLException: ERROR: relation
> "programstageinstance" does not exist.
>
> and then startup over ,dhis2 can work, but no response when clicking the
> import button within  importing/export app's importing metadata
>
> ..
>
>
>
>
>
>
>
> --
> 此致
>
> easy
>
> 莫愁前路无知己,天下谁人不识君。
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Download event report (individual events) with option set values instead of codes

2018-08-29 Thread Muhammad Adeel
Hi Shurajit,

I misread *DHIS2-2743* this is in the *Event Reports App.* I assumed this
to be part of *Import/Export App*. Please contact *Henning Håkonsen* as he
is assigned ownership of the task and would know better.

Regards,
Adeel

On Mon, Aug 27, 2018 at 11:02 PM Shurajit Dutta 
wrote:

> Hi
>
> Just wanted to follow up on this, as it seems to be reported in Jira
> (DHIS2-2743). Is there any potential time frame for implementation?
>
> On Mon, Aug 20, 2018 at 5:34 PM Shurajit Dutta 
> wrote:
>
>> Hi everyone
>>
>> I am wondering if there is a method to download an event report using the
>> data values of an option set rather then the code. I thought I remember
>> this being possible in previous versions of DHIS2 but perhaps I am mistaken.
>>
>> I tried on play.dhis2.org/demo using this favorite: Inpatient: Inpatient
>> cases last 14 days and converted this into an individual event overview.
>> When I try to download it as a CSV or Excel file, no matter what type of ID
>> scheme I select, it outputs the code of the included options rather then
>> the data values. Is there any method to download these tables with the
>> values instead?
>>
>> Here is an example table and the csv file for reference after selecting
>> "Name" as the ID scheme
>>
>> [image: image.png]
>>
>> Thanks
>> Nick
>>
>> --
>> Shurajit Dutta (MPH, MHI)
>> Health Information Systems Adviser
>>
>
>
> --
> Shurajit Dutta (MPH, MHI)
> Health Information Systems Adviser
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Download event report (individual events) with option set values instead of codes

2018-08-27 Thread Muhammad Adeel
yes, I’ll work on Import/Export issues this week was working on the
CaptureApp currently

On Mon, 27 Aug 2018 at 23:02, Shurajit Dutta 
wrote:

> Hi
>
> Just wanted to follow up on this, as it seems to be reported in Jira
> (DHIS2-2743). Is there any potential time frame for implementation?
>
> On Mon, Aug 20, 2018 at 5:34 PM Shurajit Dutta 
> wrote:
>
>> Hi everyone
>>
>> I am wondering if there is a method to download an event report using the
>> data values of an option set rather then the code. I thought I remember
>> this being possible in previous versions of DHIS2 but perhaps I am mistaken.
>>
>> I tried on play.dhis2.org/demo using this favorite: Inpatient: Inpatient
>> cases last 14 days and converted this into an individual event overview.
>> When I try to download it as a CSV or Excel file, no matter what type of ID
>> scheme I select, it outputs the code of the included options rather then
>> the data values. Is there any method to download these tables with the
>> values instead?
>>
>> Here is an example table and the csv file for reference after selecting
>> "Name" as the ID scheme
>>
>> [image: image.png]
>>
>> Thanks
>> Nick
>>
>> --
>> Shurajit Dutta (MPH, MHI)
>> Health Information Systems Adviser
>>
>
>
> --
> Shurajit Dutta (MPH, MHI)
> Health Information Systems Adviser
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Setup DHIS2 in Linux (Debian)

2018-08-27 Thread Muhammad Adeel
Hi Nayeem,


   1. I have a Ansible configuration for Ubuntu here
   https://github.com/adeelshahid/dhis2-core-ansible/ it can be tuned for
   Debian or you can get an idea what needs to be in place to put up things.
   2. *Scaling the setup*. Too much PostgresSQL data, how does one shard or
   scale DHIS2 system. Which is important to plan before running into problems
   in the future. I would recommend some backend person responds on that.

Regards,
Adeel

On Mon, Aug 27, 2018 at 9:45 AM Nayeem Al Mifthah 
wrote:

> Anyone having documentation on setup DHIS2 in Debian?
>
>
> *Nayeem Al Mifthah*
> *Health Information Systems Specialist*
> Support to the National HMIS
> MIS, Directorate General of Health Services, Ministry of Health and Family
> Welfare, Bangladesh
> Telephone: +880-2-58816459|Fax: +880-2-58813875|Mobile:
>  +88-01914 030 574
> Email: n.mift...@gmail.com|Skype: nayeem.a.m|   LinkedIn:
> linkedin.com/in/nayeemam
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Issue while importing .gml file : No matching object for given reference. Identifier was UID, and object was X

2018-08-06 Thread Muhammad Adeel
Hi Thomas,

Viet has added a GML import endpoint to the latest build and we are testing
it out. After which we will backport the backend api.
There is additional classKey support for GML CSV file format which is added
as well.

Regards,
Adeel


On Tue, Jul 31, 2018 at 2:01 PM, Thomas Warichet <
twaric...@bluesquarehub.com> wrote:

> Here it is :)
>
> [image: BLUESQUARE NEW FINAL VECT-01.png]
>
> Thomas Warichet
>
> www.bluesquarehub.com
>
> [image: twitter.png] <https://twitter.com/blsqhub> [image: facebook.png]
> <https://www.facebook.com/blsqhub/> [image: linkedin.png]
> <https://www.linkedin.com/company/bluesquarehub>
>
> On Tue, Jul 31, 2018 at 1:59 PM, Muhammad Adeel  wrote:
>
>> Thomas,
>>
>> Can you send us the good GML file for comparison.
>>
>> On Tue, 31 Jul 2018 at 14:57, Thomas Warichet <
>> twaric...@bluesquarehub.com> wrote:
>>
>>> Hello,
>>>
>>> Apparently, even if still unidentified, the problem is coming from the
>>> gml file. Those I was using were provided to me by my customer.
>>> I made my own ones and they're working perfectly fine.
>>>
>>> Best regards,
>>>
>>> Thomas
>>>
>>> [image: BLUESQUARE NEW FINAL VECT-01.png]
>>>
>>> Thomas Warichet
>>>
>>> www.bluesquarehub.com
>>>
>>> [image: twitter.png] <https://twitter.com/blsqhub> [image: facebook.png]
>>> <https://www.facebook.com/blsqhub/> [image: linkedin.png]
>>> <https://www.linkedin.com/company/bluesquarehub>
>>>
>>> On Mon, Jul 30, 2018 at 4:19 PM, Muhammad Adeel  wrote:
>>>
>>>> Hi Thomas,
>>>>
>>>> I’ll have a look at this.
>>>>
>>>> On Mon, 30 Jul 2018 at 11:45, Thomas Warichet <
>>>> twaric...@bluesquarehub.com> wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> I'm trying to import a gml file and I don't get what I'm doing wrong.
>>>>>
>>>>> Working on DHIS 2.29, version 7a597d0.
>>>>>
>>>>> The aim is to add the boundaries of an Indian district called Fatehpur.
>>>>> I precise that there's only one "Fatehpur" org unit in the whole db
>>>>> and that isn't neither a spelling problem.
>>>>> I've also tried to remove any "unnecessary" line from the gml file and
>>>>> it didn't change nothing.
>>>>>
>>>>> Here's the import summary (and the gml file is enclosed):
>>>>>
>>>>> Import summary Import count Filename IND_UP_Fa(1).gml
>>>>>
>>>>> 0 Created
>>>>> 0 Updated
>>>>> 1 Ignored
>>>>> Import Type Report
>>>>> Type Created Updated Ignored
>>>>> OrganisationUnit 0 0 1 Conflicts
>>>>> Main Type Error Type Description
>>>>> OrganisationUnit ${errorReport.errorKlass.simpleName} No matching
>>>>> object for given reference. Identifier was UID, and object was Fatehpur
>>>>> [NmlTytLTAWs] (OrganisationUnit).
>>>>>
>>>>>
>>>>>
>>>>> Thanks in advance,
>>>>>
>>>>>
>>>>>
>>>>> Thomas Warichet
>>>>>
>>>>> www.bluesquarehub.com
>>>>>
>>>>> [image: twitter.png] <https://twitter.com/blsqhub> [image:
>>>>> facebook.png] <https://www.facebook.com/blsqhub/> [image:
>>>>> linkedin.png] <https://www.linkedin.com/company/bluesquarehub>
>>>>> ___
>>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>>> Post to : dhis2-users@lists.launchpad.net
>>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>>
>>>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] DHIS2 2.30 - Metadata import App - File format feature

2018-08-06 Thread Muhammad Adeel
Hi,


*Thomas*
I didn't test zip file imports. Can you attach your zip file so we can test
and come back on this.

*Vladimer*
On the Logout issue can open a JIRA ticket -
https://jira.dhis2.org/secure/Dashboard.jspa and me and Viet. We'll try to
reproduce this on the frontend and see why this is happening.


Regards,
Adeel







On Mon, Aug 6, 2018 at 2:11 PM, Vladimer Shioshvili 
wrote:

> I think it's more than that - I was looking at the new metadata import app
> as well, and it has bigger issues. It accepts json and xml, won't accept
> zip (returns 415), but when you click on import it immediately logs you out
> and there is no way to see if anything actually happened - logger console
> on the bottom of the import app only has very limited info - there don't
> seem to be any summaries.
>
> Thanks,
> Vlad
>
> On Mon, Aug 6, 2018 at 8:08 AM Thomas Warichet <
> twaric...@bluesquarehub.com> wrote:
>
>> Hi all,
>>
>> We've just set up a new system (2.30 - Build 0722ff4) and it looks that
>> the metadata import file format feature isn't available anymore (e.g. I
>> can't import metadata from a csv file).
>>
>> I don't find any info about this (but I may search the wrong way). Am I
>> missing something or is it just a dev choice?
>>
>> Thx in advance for any info about that,
>>
>> Thomas
>> [image: BLUESQUARE NEW FINAL VECT-01.png]
>>
>> Thomas Warichet
>>
>> www.bluesquarehub.com
>>
>> [image: twitter.png]  [image: facebook.png]
>>  [image: linkedin.png]
>> 
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-users@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Issue while importing .gml file : No matching object for given reference. Identifier was UID, and object was X

2018-08-01 Thread Muhammad Adeel
Old GML endpoint was removed from the backend I am consulting now with our
backend guys to get the correct endpoint for GML imports after which I
should be able to push the fix.

On Tue, Jul 31, 2018 at 3:01 PM, Thomas Warichet <
twaric...@bluesquarehub.com> wrote:

> Here it is :)
>
> [image: BLUESQUARE NEW FINAL VECT-01.png]
>
> Thomas Warichet
>
> www.bluesquarehub.com
>
> [image: twitter.png] <https://twitter.com/blsqhub> [image: facebook.png]
> <https://www.facebook.com/blsqhub/> [image: linkedin.png]
> <https://www.linkedin.com/company/bluesquarehub>
>
> On Tue, Jul 31, 2018 at 1:59 PM, Muhammad Adeel  wrote:
>
>> Thomas,
>>
>> Can you send us the good GML file for comparison.
>>
>> On Tue, 31 Jul 2018 at 14:57, Thomas Warichet <
>> twaric...@bluesquarehub.com> wrote:
>>
>>> Hello,
>>>
>>> Apparently, even if still unidentified, the problem is coming from the
>>> gml file. Those I was using were provided to me by my customer.
>>> I made my own ones and they're working perfectly fine.
>>>
>>> Best regards,
>>>
>>> Thomas
>>>
>>> [image: BLUESQUARE NEW FINAL VECT-01.png]
>>>
>>> Thomas Warichet
>>>
>>> www.bluesquarehub.com
>>>
>>> [image: twitter.png] <https://twitter.com/blsqhub> [image: facebook.png]
>>> <https://www.facebook.com/blsqhub/> [image: linkedin.png]
>>> <https://www.linkedin.com/company/bluesquarehub>
>>>
>>> On Mon, Jul 30, 2018 at 4:19 PM, Muhammad Adeel  wrote:
>>>
>>>> Hi Thomas,
>>>>
>>>> I’ll have a look at this.
>>>>
>>>> On Mon, 30 Jul 2018 at 11:45, Thomas Warichet <
>>>> twaric...@bluesquarehub.com> wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> I'm trying to import a gml file and I don't get what I'm doing wrong.
>>>>>
>>>>> Working on DHIS 2.29, version 7a597d0.
>>>>>
>>>>> The aim is to add the boundaries of an Indian district called Fatehpur.
>>>>> I precise that there's only one "Fatehpur" org unit in the whole db
>>>>> and that isn't neither a spelling problem.
>>>>> I've also tried to remove any "unnecessary" line from the gml file and
>>>>> it didn't change nothing.
>>>>>
>>>>> Here's the import summary (and the gml file is enclosed):
>>>>>
>>>>> Import summary Import count Filename IND_UP_Fa(1).gml
>>>>>
>>>>> 0 Created
>>>>> 0 Updated
>>>>> 1 Ignored
>>>>> Import Type Report
>>>>> Type Created Updated Ignored
>>>>> OrganisationUnit 0 0 1 Conflicts
>>>>> Main Type Error Type Description
>>>>> OrganisationUnit ${errorReport.errorKlass.simpleName} No matching
>>>>> object for given reference. Identifier was UID, and object was Fatehpur
>>>>> [NmlTytLTAWs] (OrganisationUnit).
>>>>>
>>>>>
>>>>>
>>>>> Thanks in advance,
>>>>>
>>>>>
>>>>>
>>>>> Thomas Warichet
>>>>>
>>>>> www.bluesquarehub.com
>>>>>
>>>>> [image: twitter.png] <https://twitter.com/blsqhub> [image:
>>>>> facebook.png] <https://www.facebook.com/blsqhub/> [image:
>>>>> linkedin.png] <https://www.linkedin.com/company/bluesquarehub>
>>>>> ___
>>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>>> Post to : dhis2-users@lists.launchpad.net
>>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>>
>>>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Issue while importing .gml file : No matching object for given reference. Identifier was UID, and object was X

2018-07-31 Thread Muhammad Adeel
Thomas,

Can you send us the good GML file for comparison.

On Tue, 31 Jul 2018 at 14:57, Thomas Warichet 
wrote:

> Hello,
>
> Apparently, even if still unidentified, the problem is coming from the gml
> file. Those I was using were provided to me by my customer.
> I made my own ones and they're working perfectly fine.
>
> Best regards,
>
> Thomas
>
> [image: BLUESQUARE NEW FINAL VECT-01.png]
>
> Thomas Warichet
>
> www.bluesquarehub.com
>
> [image: twitter.png] <https://twitter.com/blsqhub> [image: facebook.png]
> <https://www.facebook.com/blsqhub/> [image: linkedin.png]
> <https://www.linkedin.com/company/bluesquarehub>
>
> On Mon, Jul 30, 2018 at 4:19 PM, Muhammad Adeel  wrote:
>
>> Hi Thomas,
>>
>> I’ll have a look at this.
>>
>> On Mon, 30 Jul 2018 at 11:45, Thomas Warichet <
>> twaric...@bluesquarehub.com> wrote:
>>
>>> Hi all,
>>>
>>> I'm trying to import a gml file and I don't get what I'm doing wrong.
>>>
>>> Working on DHIS 2.29, version 7a597d0.
>>>
>>> The aim is to add the boundaries of an Indian district called Fatehpur.
>>> I precise that there's only one "Fatehpur" org unit in the whole db and
>>> that isn't neither a spelling problem.
>>> I've also tried to remove any "unnecessary" line from the gml file and
>>> it didn't change nothing.
>>>
>>> Here's the import summary (and the gml file is enclosed):
>>>
>>> Import summary Import count Filename IND_UP_Fa(1).gml
>>>
>>> 0 Created
>>> 0 Updated
>>> 1 Ignored
>>> Import Type Report
>>> Type Created Updated Ignored
>>> OrganisationUnit 0 0 1 Conflicts
>>> Main Type Error Type Description
>>> OrganisationUnit ${errorReport.errorKlass.simpleName} No matching
>>> object for given reference. Identifier was UID, and object was Fatehpur
>>> [NmlTytLTAWs] (OrganisationUnit).
>>>
>>>
>>>
>>> Thanks in advance,
>>>
>>>
>>>
>>> Thomas Warichet
>>>
>>> www.bluesquarehub.com
>>>
>>> [image: twitter.png] <https://twitter.com/blsqhub> [image: facebook.png]
>>> <https://www.facebook.com/blsqhub/> [image: linkedin.png]
>>> <https://www.linkedin.com/company/bluesquarehub>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-users@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Issue while importing .gml file : No matching object for given reference. Identifier was UID, and object was X

2018-07-30 Thread Muhammad Adeel
Hi Thomas,

I’ll have a look at this.

On Mon, 30 Jul 2018 at 11:45, Thomas Warichet 
wrote:

> Hi all,
>
> I'm trying to import a gml file and I don't get what I'm doing wrong.
>
> Working on DHIS 2.29, version 7a597d0.
>
> The aim is to add the boundaries of an Indian district called Fatehpur.
> I precise that there's only one "Fatehpur" org unit in the whole db and
> that isn't neither a spelling problem.
> I've also tried to remove any "unnecessary" line from the gml file and it
> didn't change nothing.
>
> Here's the import summary (and the gml file is enclosed):
>
> Import summary Import count Filename IND_UP_Fa(1).gml
>
> 0 Created
> 0 Updated
> 1 Ignored
> Import Type Report
> Type Created Updated Ignored
> OrganisationUnit 0 0 1 Conflicts
> Main Type Error Type Description
> OrganisationUnit ${errorReport.errorKlass.simpleName} No matching object
> for given reference. Identifier was UID, and object was Fatehpur
> [NmlTytLTAWs] (OrganisationUnit).
>
>
>
> Thanks in advance,
>
>
>
> Thomas Warichet
>
> www.bluesquarehub.com
>
> [image: twitter.png]  [image: facebook.png]
>  [image: linkedin.png]
> 
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] DHIS2 WEB API.

2018-07-30 Thread Muhammad Adeel
Hi Alex,

Add the external domain where you are calling the DHIS2 API from to the
CORS white list. Then use any web method with headers including
creditionals. You might find credentials referred to as withCredentials or
credentials in CORS requests documentation.

Adeel



On Mon, 30 Jul 2018 at 16:53, Alex Kimeu  wrote:

> Hello?
>
> I kindly need help linking DHIS2 to an external web portal. I've been
> trying to read through the DHIS2 web API documentation but I just can't
> seem to crack it. I need to to be able to view data from DHIS2 database on
> an external web portal. Kindly assist.
>
> Regards!
>
> --
> *"The lion can't miss the hunt!"*
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp