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


[Dhis2-users] DHIS2 WEB API.

2018-07-30 Thread Alex Kimeu
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


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

2018-07-30 Thread Thomas Warichet
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]



IND_UP_Fa(1).gml
Description: Binary data
___
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