Web Portal with DHIS2

Hello Everyone,

Could someone can share tips on how to build a Web Portal with DHIS2 Data

Sincerely,

···

=========================
EKANI Guy

Hi Guy,

for starters I recommend that you start reading up on how to use the analytics plugins here:

https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s23.html

Using these you can embed pivots, charts and maps in web portals with live data from DHIS 2.

You can also have a look at the Web portal demo here:

https://apps.dhis2.org/portal/index.html

https://apps.dhis2.org/portal/chart.html

regards,

Lars

···

On Mon, Sep 28, 2015 at 5:31 PM, Guy Ekani constyekani@yahoo.fr wrote:

Hello Everyone,

Could someone can share tips on how to build a Web Portal with DHIS2 Data

Sincerely,

EKANI Guy

=========================


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

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

http://www.dhis2.org

Thank You Lars,

I tried a example, Please let me give you my configuration :

  • DHIS Live 2.18 (18179) on Windows 7

  • Database = PostGreSQL 9.3

**- Remote acces - CORE White Liste **

- My script

- console error on web browser

1.XMLHttpRequest cannot load http://localhost:8082/dhis-web-commons-security/login.action. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=yvbsx7nvigeft54069fvllae?failed=true’, which is disallowed for cross-origin requests that require preflight.

2.XMLHttpRequest cannot load http://localhost:8082/dhis-web-commons/security/login.action. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘null’ is therefore not allowed access.

Sincerely,

···

=========================
EKANI Guy

Le Jeudi 1 octobre 2015 19h11, Lars Helge Øverland larshelge@gmail.com a écrit :

Hi Guy,

for starters I recommend that you start reading up on how to use the analytics plugins here:

https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s23.html

Using these you can embed pivots, charts and maps in web portals with live data from DHIS 2.

You can also have a look at the Web portal demo here:

https://apps.dhis2.org/portal/index.html

https://apps.dhis2.org/portal/chart.html

regards,

Lars

On Mon, Sep 28, 2015 at 5:31 PM, Guy Ekani constyekani@yahoo.fr wrote:

Hello Everyone,

Could someone can share tips on how to build a Web Portal with DHIS2 Data

Sincerely,

=========================
EKANI Guy


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


Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

http://www.dhis2.org

Hi Guy,

A fix is needed both in the Ext version we are (still) using and in the plugins to make this work. Unfortunately I have only had the time to update trunk and 2.20 so far.

If it is OK for you to upgrade to 2.20 it will work right away if you add the following to your plugin configuration:

DHIS.getTable({

...

...

crossDomain: true,

username: <portal user>,

password: <portal user password>

});

Will try to find some time to backport it to 2.19 and 2.18 as well.

And by the way, you say that you run

Make sure that the plugin version matches the DHIS2 version.

Jan

···

On Fri, Oct 2, 2015 at 10:37 AM, Guy Ekani constyekani@yahoo.fr wrote:

Thank You Lars,

I tried a example, Please let me give you my configuration :

  • DHIS Live 2.18 (18179) on Windows 7
  • Database = PostGreSQL 9.3

**- Remote acces - CORE White Liste **

- My script

- console error on web browser

1.XMLHttpRequest cannot load http://localhost:8082/dhis-web-commons-security/login.action. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=yvbsx7nvigeft54069fvllae?failed=true’, which is disallowed for cross-origin requests that require preflight.

2.XMLHttpRequest cannot load http://localhost:8082/dhis-web-commons/security/login.action. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘null’ is therefore not allowed access.

Sincerely,

EKANI Guy

=========================

Le Jeudi 1 octobre 2015 19h11, Lars Helge Øverland larshelge@gmail.com a écrit :

Hi Guy,

for starters I recommend that you start reading up on how to use the analytics plugins here:

https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s23.html

Using these you can embed pivots, charts and maps in web portals with live data from DHIS 2.

You can also have a look at the Web portal demo here:

https://apps.dhis2.org/portal/index.html

https://apps.dhis2.org/portal/chart.html

regards,

Lars

On Mon, Sep 28, 2015 at 5:31 PM, Guy Ekani constyekani@yahoo.fr wrote:

Hello Everyone,

Could someone can share tips on how to build a Web Portal with DHIS2 Data

Sincerely,

=========================
EKANI Guy


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


Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

http://www.dhis2.org


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

Hi Lars,

I have seen the link. Isn’t there a way to kindly present text comment besides charts and pivot tables?

Thank you.

Henri

Hi Guy,

for starters I recommend that you start reading up on how to use the analytics plugins here:

https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s23.html

Using these you can embed pivots, charts and maps in web portals with live data from DHIS 2.

You can also have a look at the Web portal demo here:

https://apps.dhis2.org/portal/index.html

https://apps.dhis2.org/portal/chart.html

regards,

Lars

···

Le Jeudi 1 octobre 2015 19h11, Lars Helge Øverland larshelge@gmail.com a écrit :

On Mon, Sep 28, 2015 at 5:31 PM, Guy Ekani constyekani@yahoo.fr wrote:

Hello Everyone,

Could someone can share tips on how to build a Web Portal with DHIS2 Data

Sincerely,

=========================
EKANI Guy


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


Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

http://www.dhis2.org


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

Hi Henri,

The main point of the portal solution is that you are free to add any such additional functionality. But I guess you are asking whether the core DHIS2 model could be extended to associate a comment with each chart? I suppose that is already there to some extent through the Interpretations.

Knut

···

On Fri, Oct 2, 2015 at 10:59 AM, henri claude moungui henrimoungui@yahoo.fr wrote:

Hi Lars,

I have seen the link. Isn’t there a way to kindly present text comment besides charts and pivot tables?

Thank you.

Henri

Le Jeudi 1 octobre 2015 19h11, Lars Helge Øverland larshelge@gmail.com a écrit :

Hi Guy,

for starters I recommend that you start reading up on how to use the analytics plugins here:

https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s23.html

Using these you can embed pivots, charts and maps in web portals with live data from DHIS 2.

You can also have a look at the Web portal demo here:

https://apps.dhis2.org/portal/index.html

https://apps.dhis2.org/portal/chart.html

regards,

Lars

On Mon, Sep 28, 2015 at 5:31 PM, Guy Ekani constyekani@yahoo.fr wrote:

Hello Everyone,

Could someone can share tips on how to build a Web Portal with DHIS2 Data

Sincerely,

=========================
EKANI Guy


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


Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

http://www.dhis2.org


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-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Thanks Jan,

I migrated to DHIS-Live 2.20(19682), But I’m always getting the error :

XMLHttpRequest cannot load http://localhost:8082/dhis-web-commons-security/login.action. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=irhqgxqywe5v1kb27d5obvhec?failed=true’, which is disallowed for cross-origin requests that require preflight.

and

Blocking of a multi-query origins (Cross-Origin Request): the “Same Origin” policy does not refer to the remote resource on http: // localhost: 8082 / web-dhis-commons-security / login.action . Reason: the header CORS “Access-Control-Allow-Origin” is missing. Reason: Failed to CORS request.

Sincerely,

···

=========================
EKANI Guy

Le Vendredi 2 octobre 2015 8h56, Jan Henrik Øverland janhenrik.overland@gmail.com a écrit :

Hi Guy,

A fix is needed both in the Ext version we are (still) using and in the plugins to make this work. Unfortunately I have only had the time to update trunk and 2.20 so far.

If it is OK for you to upgrade to 2.20 it will work right away if you add the following to your plugin configuration:

DHIS.getTable({

...

...

crossDomain: true,

username: <portal user>,

password: <portal user password>

});

Will try to find some time to backport it to 2.19 and 2.18 as well.

And by the way, you say that you run

Make sure that the plugin version matches the DHIS2 version.

Jan

On Fri, Oct 2, 2015 at 10:37 AM, Guy Ekani constyekani@yahoo.fr wrote:

Thank You Lars,

I tried a example, Please let me give you my configuration :

  • DHIS Live 2.18 (18179) on Windows 7
  • Database = PostGreSQL 9.3

**- Remote acces - CORE White Liste **

- My script

- console error on web browser

1.XMLHttpRequest cannot load http://localhost:8082/dhis-web-commons-security/login.action. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=yvbsx7nvigeft54069fvllae?failed=true’, which is disallowed for cross-origin requests that require preflight.

2.XMLHttpRequest cannot load http://localhost:8082/dhis-web-commons/security/login.action. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘null’ is therefore not allowed access.

Sincerely,

=========================
EKANI Guy

Le Jeudi 1 octobre 2015 19h11, Lars Helge Øverland larshelge@gmail.com a écrit :

Hi Guy,

for starters I recommend that you start reading up on how to use the analytics plugins here:

https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s23.html

Using these you can embed pivots, charts and maps in web portals with live data from DHIS 2.

You can also have a look at the Web portal demo here:

https://apps.dhis2.org/portal/index.html

https://apps.dhis2.org/portal/chart.html

regards,

Lars

On Mon, Sep 28, 2015 at 5:31 PM, Guy Ekani constyekani@yahoo.fr wrote:

Hello Everyone,

Could someone can share tips on how to build a Web Portal with DHIS2 Data

Sincerely,

=========================
EKANI Guy


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


Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

http://www.dhis2.org


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

Hi Guy,

The 2.20 plugin does the authentication for you (as long as you provide the crossDomain, username and password) so you can remove the login code. This will work (replace password):

···

On Fri, Oct 2, 2015 at 3:45 PM, Guy Ekani constyekani@yahoo.fr wrote:

Thanks Jan,

I migrated to DHIS-Live 2.20(19682), But I’m always getting the error :

XMLHttpRequest cannot load http://localhost:8082/dhis-web-commons-security/login.action. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=irhqgxqywe5v1kb27d5obvhec?failed=true’, which is disallowed for cross-origin requests that require preflight.

and

Blocking of a multi-query origins (Cross-Origin Request): the “Same Origin” policy does not refer to the remote resource on http: // localhost: 8082 / web-dhis-commons-security / login.action . Reason: the header CORS “Access-Control-Allow-Origin” is missing. Reason: Failed to CORS request.

Sincerely,

EKANI Guy

=========================

Le Vendredi 2 octobre 2015 8h56, Jan Henrik Øverland janhenrik.overland@gmail.com a écrit :

Hi Guy,

A fix is needed both in the Ext version we are (still) using and in the plugins to make this work. Unfortunately I have only had the time to update trunk and 2.20 so far.

If it is OK for you to upgrade to 2.20 it will work right away if you add the following to your plugin configuration:

DHIS.getTable({

...
...
crossDomain: true,
username: <portal user>,
password: <portal user password>

});

Will try to find some time to backport it to 2.19 and 2.18 as well.

And by the way, you say that you run

  • DHIS Live 2.18

Make sure that the plugin version matches the DHIS2 version.

Jan

On Fri, Oct 2, 2015 at 10:37 AM, Guy Ekani constyekani@yahoo.fr wrote:

Thank You Lars,

I tried a example, Please let me give you my configuration :

  • DHIS Live 2.18 (18179) on Windows 7
  • Database = PostGreSQL 9.3

**- Remote acces - CORE White Liste **

- My script

- console error on web browser

1.XMLHttpRequest cannot load http://localhost:8082/dhis-web-commons-security/login.action. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=yvbsx7nvigeft54069fvllae?failed=true’, which is disallowed for cross-origin requests that require preflight.

2.XMLHttpRequest cannot load http://localhost:8082/dhis-web-commons/security/login.action. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘null’ is therefore not allowed access.

Sincerely,

=========================
EKANI Guy

Le Jeudi 1 octobre 2015 19h11, Lars Helge Øverland larshelge@gmail.com a écrit :

Hi Guy,

for starters I recommend that you start reading up on how to use the analytics plugins here:

https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s23.html

Using these you can embed pivots, charts and maps in web portals with live data from DHIS 2.

You can also have a look at the Web portal demo here:

https://apps.dhis2.org/portal/index.html

https://apps.dhis2.org/portal/chart.html

regards,

Lars

On Mon, Sep 28, 2015 at 5:31 PM, Guy Ekani constyekani@yahoo.fr wrote:

Hello Everyone,

Could someone can share tips on how to build a Web Portal with DHIS2 Data

Sincerely,

=========================
EKANI Guy


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


Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

http://www.dhis2.org


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

Now I have the following errors in DHIS-Live 2.20(19682)/PosgreSQL :

Table.html:1 XMLHttpRequest cannot load http://localhost:8082/api/me/user-account.json. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=pz57xiqk2xlcc1jy8sjv8pm7’, which is disallowed for cross-origin requests that require preflight.

Table.html:1 XMLHttpRequest cannot load http://localhost:8082/api/dimensions.json?fields=id,name&paging=false. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=30ih6480fdr61a2t4ppd2c674’, which is disallowed for cross-origin requests that require preflight.

Table.html:1 XMLHttpRequest cannot load http://localhost:8082/api/legendSets.json?fields=id,name,legends[id,name,startValue,endValue,color]&paging=false&_dc=1443793668223. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=1ll1s8lo6k26hq9q2eprb9px8’, which is disallowed for cross-origin requests that require preflight.

Table.html:1 XMLHttpRequest cannot load http://localhost:8082/api/organisationUnits.json?userOnly=true&fields=id,name,children[id,name]&paging=false. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=1jsyr9wmynlpg196nnj4jskfj6’, which is disallowed for cross-origin requests that require preflight.

···

=========================
EKANI Guy

Le Vendredi 2 octobre 2015 14h01, Jan Henrik Øverland janhenrik.overland@gmail.com a écrit :

Hi Guy,

The 2.20 plugin does the authentication for you (as long as you provide the crossDomain, username and password) so you can remove the login code. This will work (replace password):

On Fri, Oct 2, 2015 at 3:45 PM, Guy Ekani constyekani@yahoo.fr wrote:

Thanks Jan,

I migrated to DHIS-Live 2.20(19682), But I’m always getting the error :

XMLHttpRequest cannot load http://localhost:8082/dhis-web-commons-security/login.action. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=irhqgxqywe5v1kb27d5obvhec?failed=true’, which is disallowed for cross-origin requests that require preflight.

and

Blocking of a multi-query origins (Cross-Origin Request): the “Same Origin” policy does not refer to the remote resource on http: // localhost: 8082 / web-dhis-commons-security / login.action . Reason: the header CORS “Access-Control-Allow-Origin” is missing. Reason: Failed to CORS request.

Sincerely,

=========================
EKANI Guy

Le Vendredi 2 octobre 2015 8h56, Jan Henrik Øverland janhenrik.overland@gmail.com a écrit :

Hi Guy,

A fix is needed both in the Ext version we are (still) using and in the plugins to make this work. Unfortunately I have only had the time to update trunk and 2.20 so far.

If it is OK for you to upgrade to 2.20 it will work right away if you add the following to your plugin configuration:

DHIS.getTable({

...
...
crossDomain: true,
username: <portal user>,
password: <portal user password>

});

Will try to find some time to backport it to 2.19 and 2.18 as well.

And by the way, you say that you run

  • DHIS Live 2.18

Make sure that the plugin version matches the DHIS2 version.

Jan

On Fri, Oct 2, 2015 at 10:37 AM, Guy Ekani constyekani@yahoo.fr wrote:

Thank You Lars,

I tried a example, Please let me give you my configuration :

  • DHIS Live 2.18 (18179) on Windows 7
  • Database = PostGreSQL 9.3

**- Remote acces - CORE White Liste **

- My script

- console error on web browser

1.XMLHttpRequest cannot load http://localhost:8082/dhis-web-commons-security/login.action. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=yvbsx7nvigeft54069fvllae?failed=true’, which is disallowed for cross-origin requests that require preflight.

2.XMLHttpRequest cannot load http://localhost:8082/dhis-web-commons/security/login.action. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘null’ is therefore not allowed access.

Sincerely,

=========================
EKANI Guy

Le Jeudi 1 octobre 2015 19h11, Lars Helge Øverland larshelge@gmail.com a écrit :

Hi Guy,

for starters I recommend that you start reading up on how to use the analytics plugins here:

https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s23.html

Using these you can embed pivots, charts and maps in web portals with live data from DHIS 2.

You can also have a look at the Web portal demo here:

https://apps.dhis2.org/portal/index.html

https://apps.dhis2.org/portal/chart.html

regards,

Lars

On Mon, Sep 28, 2015 at 5:31 PM, Guy Ekani constyekani@yahoo.fr wrote:

Hello Everyone,

Could someone can share tips on how to build a Web Portal with DHIS2 Data

Sincerely,

=========================
EKANI Guy


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


Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

http://www.dhis2.org


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

You need to add exactly

http://localhost:8082

(without the final /) to the CORS whitelist.

···

On Fri, Oct 2, 2015 at 4:50 PM, Guy Ekani constyekani@yahoo.fr wrote:

Now I have the following errors in DHIS-Live 2.20(19682)/PosgreSQL :

Table.html:1 XMLHttpRequest cannot load http://localhost:8082/api/me/user-account.json. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=pz57xiqk2xlcc1jy8sjv8pm7’, which is disallowed for cross-origin requests that require preflight.

Table.html:1 XMLHttpRequest cannot load http://localhost:8082/api/dimensions.json?fields=id,name&paging=false. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=30ih6480fdr61a2t4ppd2c674’, which is disallowed for cross-origin requests that require preflight.

Table.html:1 XMLHttpRequest cannot load http://localhost:8082/api/legendSets.json?fields=id,name,legends[id,name,startValue,endValue,color]&paging=false&_dc=1443793668223. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=1ll1s8lo6k26hq9q2eprb9px8’, which is disallowed for cross-origin requests that require preflight.

Table.html:1 XMLHttpRequest cannot load http://localhost:8082/api/organisationUnits.json?userOnly=true&fields=id,name,children[id,name]&paging=false. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=1jsyr9wmynlpg196nnj4jskfj6’, which is disallowed for cross-origin requests that require preflight.

EKANI Guy

=========================

Le Vendredi 2 octobre 2015 14h01, Jan Henrik Øverland janhenrik.overland@gmail.com a écrit :

Hi Guy,

The 2.20 plugin does the authentication for you (as long as you provide the crossDomain, username and password) so you can remove the login code. This will work (replace password):

On Fri, Oct 2, 2015 at 3:45 PM, Guy Ekani constyekani@yahoo.fr wrote:

Thanks Jan,

I migrated to DHIS-Live 2.20(19682), But I’m always getting the error :

XMLHttpRequest cannot load http://localhost:8082/dhis-web-commons-security/login.action. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=irhqgxqywe5v1kb27d5obvhec?failed=true’, which is disallowed for cross-origin requests that require preflight.

and

Blocking of a multi-query origins (Cross-Origin Request): the “Same Origin” policy does not refer to the remote resource on http: // localhost: 8082 / web-dhis-commons-security / login.action . Reason: the header CORS “Access-Control-Allow-Origin” is missing. Reason: Failed to CORS request.

Sincerely,

=========================
EKANI Guy

Le Vendredi 2 octobre 2015 8h56, Jan Henrik Øverland janhenrik.overland@gmail.com a écrit :

Hi Guy,

A fix is needed both in the Ext version we are (still) using and in the plugins to make this work. Unfortunately I have only had the time to update trunk and 2.20 so far.

If it is OK for you to upgrade to 2.20 it will work right away if you add the following to your plugin configuration:

DHIS.getTable({

...
...
crossDomain: true,
username: <portal user>,
password: <portal user password>

});

Will try to find some time to backport it to 2.19 and 2.18 as well.

And by the way, you say that you run

  • DHIS Live 2.18

Make sure that the plugin version matches the DHIS2 version.

Jan

On Fri, Oct 2, 2015 at 10:37 AM, Guy Ekani constyekani@yahoo.fr wrote:

Thank You Lars,

I tried a example, Please let me give you my configuration :

  • DHIS Live 2.18 (18179) on Windows 7
  • Database = PostGreSQL 9.3

**- Remote acces - CORE White Liste **

- My script

- console error on web browser

1.XMLHttpRequest cannot load http://localhost:8082/dhis-web-commons-security/login.action. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=yvbsx7nvigeft54069fvllae?failed=true’, which is disallowed for cross-origin requests that require preflight.

2.XMLHttpRequest cannot load http://localhost:8082/dhis-web-commons/security/login.action. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘null’ is therefore not allowed access.

Sincerely,

=========================
EKANI Guy

Le Jeudi 1 octobre 2015 19h11, Lars Helge Øverland larshelge@gmail.com a écrit :

Hi Guy,

for starters I recommend that you start reading up on how to use the analytics plugins here:

https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s23.html

Using these you can embed pivots, charts and maps in web portals with live data from DHIS 2.

You can also have a look at the Web portal demo here:

https://apps.dhis2.org/portal/index.html

https://apps.dhis2.org/portal/chart.html

regards,

Lars

On Mon, Sep 28, 2015 at 5:31 PM, Guy Ekani constyekani@yahoo.fr wrote:

Hello Everyone,

Could someone can share tips on how to build a Web Portal with DHIS2 Data

Sincerely,

=========================
EKANI Guy


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


Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

http://www.dhis2.org


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

Hey Guy,

You need to let DHIS2 know that the url the request is coming from is allowed to make requests. Therefore you need to add the portal url to the CORS whitelist.

You can do this in Apps -> Settings -> Access Settings.

image

Regards,

Mark

···

On Fri, Oct 2, 2015 at 3:50 PM, Guy Ekani constyekani@yahoo.fr wrote:

Now I have the following errors in DHIS-Live 2.20(19682)/PosgreSQL :

Table.html:1 XMLHttpRequest cannot load http://localhost:8082/api/me/user-account.json. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=pz57xiqk2xlcc1jy8sjv8pm7’, which is disallowed for cross-origin requests that require preflight.

Table.html:1 XMLHttpRequest cannot load http://localhost:8082/api/dimensions.json?fields=id,name&paging=false. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=30ih6480fdr61a2t4ppd2c674’, which is disallowed for cross-origin requests that require preflight.

Table.html:1 XMLHttpRequest cannot load http://localhost:8082/api/legendSets.json?fields=id,name,legends[id,name,startValue,endValue,color]&paging=false&_dc=1443793668223. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=1ll1s8lo6k26hq9q2eprb9px8’, which is disallowed for cross-origin requests that require preflight.

Table.html:1 XMLHttpRequest cannot load http://localhost:8082/api/organisationUnits.json?userOnly=true&fields=id,name,children[id,name]&paging=false. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=1jsyr9wmynlpg196nnj4jskfj6’, which is disallowed for cross-origin requests that require preflight.

EKANI Guy

=========================

Le Vendredi 2 octobre 2015 14h01, Jan Henrik Øverland janhenrik.overland@gmail.com a écrit :

Hi Guy,

The 2.20 plugin does the authentication for you (as long as you provide the crossDomain, username and password) so you can remove the login code. This will work (replace password):

On Fri, Oct 2, 2015 at 3:45 PM, Guy Ekani constyekani@yahoo.fr wrote:

Thanks Jan,

I migrated to DHIS-Live 2.20(19682), But I’m always getting the error :

XMLHttpRequest cannot load http://localhost:8082/dhis-web-commons-security/login.action. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=irhqgxqywe5v1kb27d5obvhec?failed=true’, which is disallowed for cross-origin requests that require preflight.

and

Blocking of a multi-query origins (Cross-Origin Request): the “Same Origin” policy does not refer to the remote resource on http: // localhost: 8082 / web-dhis-commons-security / login.action . Reason: the header CORS “Access-Control-Allow-Origin” is missing. Reason: Failed to CORS request.

Sincerely,

=========================
EKANI Guy

Le Vendredi 2 octobre 2015 8h56, Jan Henrik Øverland janhenrik.overland@gmail.com a écrit :

Hi Guy,

A fix is needed both in the Ext version we are (still) using and in the plugins to make this work. Unfortunately I have only had the time to update trunk and 2.20 so far.

If it is OK for you to upgrade to 2.20 it will work right away if you add the following to your plugin configuration:

DHIS.getTable({

...
...
crossDomain: true,
username: <portal user>,
password: <portal user password>

});

Will try to find some time to backport it to 2.19 and 2.18 as well.

And by the way, you say that you run

  • DHIS Live 2.18

Make sure that the plugin version matches the DHIS2 version.

Jan

On Fri, Oct 2, 2015 at 10:37 AM, Guy Ekani constyekani@yahoo.fr wrote:

Thank You Lars,

I tried a example, Please let me give you my configuration :

  • DHIS Live 2.18 (18179) on Windows 7
  • Database = PostGreSQL 9.3

**- Remote acces - CORE White Liste **

- My script

- console error on web browser

1.XMLHttpRequest cannot load http://localhost:8082/dhis-web-commons-security/login.action. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=yvbsx7nvigeft54069fvllae?failed=true’, which is disallowed for cross-origin requests that require preflight.

2.XMLHttpRequest cannot load http://localhost:8082/dhis-web-commons/security/login.action. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘null’ is therefore not allowed access.

Sincerely,

=========================
EKANI Guy

Le Jeudi 1 octobre 2015 19h11, Lars Helge Øverland larshelge@gmail.com a écrit :

Hi Guy,

for starters I recommend that you start reading up on how to use the analytics plugins here:

https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s23.html

Using these you can embed pivots, charts and maps in web portals with live data from DHIS 2.

You can also have a look at the Web portal demo here:

https://apps.dhis2.org/portal/index.html

https://apps.dhis2.org/portal/chart.html

regards,

Lars

On Mon, Sep 28, 2015 at 5:31 PM, Guy Ekani constyekani@yahoo.fr wrote:

Hello Everyone,

Could someone can share tips on how to build a Web Portal with DHIS2 Data

Sincerely,

=========================
EKANI Guy


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


Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

http://www.dhis2.org


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


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

Thank’s Jan !

It’s working with https://dhis2-cdn.org/v217/plugin/table.js on Google Chrome,

But not Displaying in Mozilla Firefox !

May God Bless you all

···

=========================
EKANI Guy

Le Vendredi 2 octobre 2015 15h08, Jan Henrik Øverland janhenrik.overland@gmail.com a écrit :

You need to add exactly

http://localhost:8082

(without the final /) to the CORS whitelist.

On Fri, Oct 2, 2015 at 4:50 PM, Guy Ekani constyekani@yahoo.fr wrote:

Now I have the following errors in DHIS-Live 2.20(19682)/PosgreSQL :

Table.html:1 XMLHttpRequest cannot load http://localhost:8082/api/me/user-account.json. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=pz57xiqk2xlcc1jy8sjv8pm7’, which is disallowed for cross-origin requests that require preflight.

Table.html:1 XMLHttpRequest cannot load http://localhost:8082/api/dimensions.json?fields=id,name&paging=false. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=30ih6480fdr61a2t4ppd2c674’, which is disallowed for cross-origin requests that require preflight.

Table.html:1 XMLHttpRequest cannot load http://localhost:8082/api/legendSets.json?fields=id,name,legends[id,name,startValue,endValue,color]&paging=false&_dc=1443793668223. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=1ll1s8lo6k26hq9q2eprb9px8’, which is disallowed for cross-origin requests that require preflight.

Table.html:1 XMLHttpRequest cannot load http://localhost:8082/api/organisationUnits.json?userOnly=true&fields=id,name,children[id,name]&paging=false. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=1jsyr9wmynlpg196nnj4jskfj6’, which is disallowed for cross-origin requests that require preflight.

=========================
EKANI Guy

Le Vendredi 2 octobre 2015 14h01, Jan Henrik Øverland janhenrik.overland@gmail.com a écrit :

Hi Guy,

The 2.20 plugin does the authentication for you (as long as you provide the crossDomain, username and password) so you can remove the login code. This will work (replace password):

On Fri, Oct 2, 2015 at 3:45 PM, Guy Ekani constyekani@yahoo.fr wrote:

Thanks Jan,

I migrated to DHIS-Live 2.20(19682), But I’m always getting the error :

XMLHttpRequest cannot load http://localhost:8082/dhis-web-commons-security/login.action. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=irhqgxqywe5v1kb27d5obvhec?failed=true’, which is disallowed for cross-origin requests that require preflight.

and

Blocking of a multi-query origins (Cross-Origin Request): the “Same Origin” policy does not refer to the remote resource on http: // localhost: 8082 / web-dhis-commons-security / login.action . Reason: the header CORS “Access-Control-Allow-Origin” is missing. Reason: Failed to CORS request.

Sincerely,

=========================
EKANI Guy

Le Vendredi 2 octobre 2015 8h56, Jan Henrik Øverland janhenrik.overland@gmail.com a écrit :

Hi Guy,

A fix is needed both in the Ext version we are (still) using and in the plugins to make this work. Unfortunately I have only had the time to update trunk and 2.20 so far.

If it is OK for you to upgrade to 2.20 it will work right away if you add the following to your plugin configuration:

DHIS.getTable({

...
...
crossDomain: true,
username: <portal user>,
password: <portal user password>

});

Will try to find some time to backport it to 2.19 and 2.18 as well.

And by the way, you say that you run

  • DHIS Live 2.18

Make sure that the plugin version matches the DHIS2 version.

Jan

On Fri, Oct 2, 2015 at 10:37 AM, Guy Ekani constyekani@yahoo.fr wrote:

Thank You Lars,

I tried a example, Please let me give you my configuration :

  • DHIS Live 2.18 (18179) on Windows 7
  • Database = PostGreSQL 9.3

**- Remote acces - CORE White Liste **

- My script

- console error on web browser

1.XMLHttpRequest cannot load http://localhost:8082/dhis-web-commons-security/login.action. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=yvbsx7nvigeft54069fvllae?failed=true’, which is disallowed for cross-origin requests that require preflight.

2.XMLHttpRequest cannot load http://localhost:8082/dhis-web-commons/security/login.action. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘null’ is therefore not allowed access.

Sincerely,

=========================
EKANI Guy

Le Jeudi 1 octobre 2015 19h11, Lars Helge Øverland larshelge@gmail.com a écrit :

Hi Guy,

for starters I recommend that you start reading up on how to use the analytics plugins here:

https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s23.html

Using these you can embed pivots, charts and maps in web portals with live data from DHIS 2.

You can also have a look at the Web portal demo here:

https://apps.dhis2.org/portal/index.html

https://apps.dhis2.org/portal/chart.html

regards,

Lars

On Mon, Sep 28, 2015 at 5:31 PM, Guy Ekani constyekani@yahoo.fr wrote:

Hello Everyone,

Could someone can share tips on how to build a Web Portal with DHIS2 Data

Sincerely,

=========================
EKANI Guy


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


Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

http://www.dhis2.org


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

I am facing the same problem: One script following the manual is:

generating the error “XMLHttpRequest cannot load http://103.247.238.82:8080/dhismohfw/dhis-web-commons-security/login.action. Response for preflight is invalid (redirect)”

If i use code as Jan suggests:

then the following error occurs.

GET http://103.248.238.82:8080/dhismohfw/api/me/user-account.jsonp?callback=Ext.data.JsonP.callback1&_dc=1444041788222 net::ERR_CONNECTION_TIMED_OUTExt.Element.addMethods.appendTo @ ext-all.js:15Ext.Element.addMethods.appendChild @ ext-all.js:15Ext.define.request @ ext-all.js:15a @ chart.js:1DV.plugin.getChart @ chart.js:1(anonymous function) @ testchart1.html:16(anonymous function) @ ext-all.js:15b @ ext-all.js:15

ext-all.js:15 GET http://103.248.238.82:8080/dhismohfw/api/organisationUnits.jsonp?userOnly=t…[id,name]&paging=false&callback=Ext.data.JsonP.callback2&_dc=1444041788230 net::ERR_CONNECTION_TIMED_OUTExt.Element.addMethods.appendTo @ ext-all.js:15Ext.Element.addMethods.appendChild @ ext-all.js:15Ext.define.request @ ext-all.js:15a @ chart.js:1DV.plugin.getChart @ chart.js:1(anonymous function) @ testchart1.html:16(anonymous function) @ ext-all.js:15b @ ext-all.js:15

ext-all.js:15 GET http://103.248.238.82:8080/dhismohfw/api/dimensions.jsonp?links=false&paging=false&callback=Ext.data.JsonP.callback3&_dc=1444041788231 net::ERR_CONNECTION_TIMED_OUTExt.Element.addMethods.appendTo @ ext-all.js:15Ext.Element.addMethods.appendChild @ ext-all.js:15Ext.define.request @ ext-all.js:15a @ chart.js:1DV.plugin.getChart @ chart.js:1(anonymous function) @ testchart1.html:16(anonymous function) @ ext-all.js:15b @ ext-all.js:15

Please help me to solve this.

···

On Fri, Oct 2, 2015 at 8:18 PM, Guy Ekani constyekani@yahoo.fr wrote:

Thank’s Jan !

It’s working with https://dhis2-cdn.org/v217/plugin/table.js on Google Chrome,

But not Displaying in Mozilla Firefox !

May God Bless you all

EKANI Guy

=========================

Le Vendredi 2 octobre 2015 15h08, Jan Henrik Øverland janhenrik.overland@gmail.com a écrit :

You need to add exactly

http://localhost:8082

(without the final /) to the CORS whitelist.

On Fri, Oct 2, 2015 at 4:50 PM, Guy Ekani constyekani@yahoo.fr wrote:

Now I have the following errors in DHIS-Live 2.20(19682)/PosgreSQL :

Table.html:1 XMLHttpRequest cannot load http://localhost:8082/api/me/user-account.json. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=pz57xiqk2xlcc1jy8sjv8pm7’, which is disallowed for cross-origin requests that require preflight.

Table.html:1 XMLHttpRequest cannot load http://localhost:8082/api/dimensions.json?fields=id,name&paging=false. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=30ih6480fdr61a2t4ppd2c674’, which is disallowed for cross-origin requests that require preflight.

Table.html:1 XMLHttpRequest cannot load http://localhost:8082/api/legendSets.json?fields=id,name,legends[id,name,startValue,endValue,color]&paging=false&_dc=1443793668223. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=1ll1s8lo6k26hq9q2eprb9px8’, which is disallowed for cross-origin requests that require preflight.

Table.html:1 XMLHttpRequest cannot load http://localhost:8082/api/organisationUnits.json?userOnly=true&fields=id,name,children[id,name]&paging=false. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=1jsyr9wmynlpg196nnj4jskfj6’, which is disallowed for cross-origin requests that require preflight.

=========================
EKANI Guy

Le Vendredi 2 octobre 2015 14h01, Jan Henrik Øverland janhenrik.overland@gmail.com a écrit :

Hi Guy,

The 2.20 plugin does the authentication for you (as long as you provide the crossDomain, username and password) so you can remove the login code. This will work (replace password):

On Fri, Oct 2, 2015 at 3:45 PM, Guy Ekani constyekani@yahoo.fr wrote:

Thanks Jan,

I migrated to DHIS-Live 2.20(19682), But I’m always getting the error :

XMLHttpRequest cannot load http://localhost:8082/dhis-web-commons-security/login.action. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=irhqgxqywe5v1kb27d5obvhec?failed=true’, which is disallowed for cross-origin requests that require preflight.

and

Blocking of a multi-query origins (Cross-Origin Request): the “Same Origin” policy does not refer to the remote resource on http: // localhost: 8082 / web-dhis-commons-security / login.action . Reason: the header CORS “Access-Control-Allow-Origin” is missing. Reason: Failed to CORS request.

Sincerely,

=========================
EKANI Guy

Le Vendredi 2 octobre 2015 8h56, Jan Henrik Øverland janhenrik.overland@gmail.com a écrit :

Hi Guy,

A fix is needed both in the Ext version we are (still) using and in the plugins to make this work. Unfortunately I have only had the time to update trunk and 2.20 so far.

If it is OK for you to upgrade to 2.20 it will work right away if you add the following to your plugin configuration:

DHIS.getTable({

...
...
crossDomain: true,
username: <portal user>,
password: <portal user password>

});

Will try to find some time to backport it to 2.19 and 2.18 as well.

And by the way, you say that you run

  • DHIS Live 2.18

Make sure that the plugin version matches the DHIS2 version.

Jan

On Fri, Oct 2, 2015 at 10:37 AM, Guy Ekani constyekani@yahoo.fr wrote:

Thank You Lars,

I tried a example, Please let me give you my configuration :

  • DHIS Live 2.18 (18179) on Windows 7
  • Database = PostGreSQL 9.3

**- Remote acces - CORE White Liste **

- My script

- console error on web browser

1.XMLHttpRequest cannot load http://localhost:8082/dhis-web-commons-security/login.action. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=yvbsx7nvigeft54069fvllae?failed=true’, which is disallowed for cross-origin requests that require preflight.

2.XMLHttpRequest cannot load http://localhost:8082/dhis-web-commons/security/login.action. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘null’ is therefore not allowed access.

Sincerely,

=========================
EKANI Guy

Le Jeudi 1 octobre 2015 19h11, Lars Helge Øverland larshelge@gmail.com a écrit :

Hi Guy,

for starters I recommend that you start reading up on how to use the analytics plugins here:

https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s23.html

Using these you can embed pivots, charts and maps in web portals with live data from DHIS 2.

You can also have a look at the Web portal demo here:

https://apps.dhis2.org/portal/index.html

https://apps.dhis2.org/portal/chart.html

regards,

Lars

On Mon, Sep 28, 2015 at 5:31 PM, Guy Ekani constyekani@yahoo.fr wrote:

Hello Everyone,

Could someone can share tips on how to build a Web Portal with DHIS2 Data

Sincerely,

=========================
EKANI Guy


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


Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

http://www.dhis2.org


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


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

Hi Hannan,

You need to use version 2.20.

···

On Mon, Oct 5, 2015 at 1:43 PM, Hannan Khan hannank@gmail.com wrote:

I am facing the same problem: One script following the manual is:

generating the error “XMLHttpRequest cannot load http://103.247.238.82:8080/dhismohfw/dhis-web-commons-security/login.action. Response for preflight is invalid (redirect)”

If i use code as Jan suggests:

then the following error occurs.

GET http://103.248.238.82:8080/dhismohfw/api/me/user-account.jsonp?callback=Ext.data.JsonP.callback1&_dc=1444041788222 net::ERR_CONNECTION_TIMED_OUTExt.Element.addMethods.appendTo @ ext-all.js:15Ext.Element.addMethods.appendChild @ ext-all.js:15Ext.define.request @ ext-all.js:15a @ chart.js:1DV.plugin.getChart @ chart.js:1(anonymous function) @ testchart1.html:16(anonymous function) @ ext-all.js:15b @ ext-all.js:15

ext-all.js:15 GET http://103.248.238.82:8080/dhismohfw/api/organisationUnits.jsonp?userOnly=t…[id,name]&paging=false&callback=Ext.data.JsonP.callback2&_dc=1444041788230 net::ERR_CONNECTION_TIMED_OUTExt.Element.addMethods.appendTo @ ext-all.js:15Ext.Element.addMethods.appendChild @ ext-all.js:15Ext.define.request @ ext-all.js:15a @ chart.js:1DV.plugin.getChart @ chart.js:1(anonymous function) @ testchart1.html:16(anonymous function) @ ext-all.js:15b @ ext-all.js:15

ext-all.js:15 GET http://103.248.238.82:8080/dhismohfw/api/dimensions.jsonp?links=false&paging=false&callback=Ext.data.JsonP.callback3&_dc=1444041788231 net::ERR_CONNECTION_TIMED_OUTExt.Element.addMethods.appendTo @ ext-all.js:15Ext.Element.addMethods.appendChild @ ext-all.js:15Ext.define.request @ ext-all.js:15a @ chart.js:1DV.plugin.getChart @ chart.js:1(anonymous function) @ testchart1.html:16(anonymous function) @ ext-all.js:15b @ ext-all.js:15

Please help me to solve this.

On Fri, Oct 2, 2015 at 8:18 PM, Guy Ekani constyekani@yahoo.fr wrote:

Thank’s Jan !

It’s working with https://dhis2-cdn.org/v217/plugin/table.js on Google Chrome,

But not Displaying in Mozilla Firefox !

May God Bless you all

EKANI Guy

=========================

Le Vendredi 2 octobre 2015 15h08, Jan Henrik Øverland janhenrik.overland@gmail.com a écrit :

You need to add exactly

http://localhost:8082

(without the final /) to the CORS whitelist.

On Fri, Oct 2, 2015 at 4:50 PM, Guy Ekani constyekani@yahoo.fr wrote:

Now I have the following errors in DHIS-Live 2.20(19682)/PosgreSQL :

Table.html:1 XMLHttpRequest cannot load http://localhost:8082/api/me/user-account.json. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=pz57xiqk2xlcc1jy8sjv8pm7’, which is disallowed for cross-origin requests that require preflight.

Table.html:1 XMLHttpRequest cannot load http://localhost:8082/api/dimensions.json?fields=id,name&paging=false. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=30ih6480fdr61a2t4ppd2c674’, which is disallowed for cross-origin requests that require preflight.

Table.html:1 XMLHttpRequest cannot load http://localhost:8082/api/legendSets.json?fields=id,name,legends[id,name,startValue,endValue,color]&paging=false&_dc=1443793668223. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=1ll1s8lo6k26hq9q2eprb9px8’, which is disallowed for cross-origin requests that require preflight.

Table.html:1 XMLHttpRequest cannot load http://localhost:8082/api/organisationUnits.json?userOnly=true&fields=id,name,children[id,name]&paging=false. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=1jsyr9wmynlpg196nnj4jskfj6’, which is disallowed for cross-origin requests that require preflight.

=========================
EKANI Guy

Le Vendredi 2 octobre 2015 14h01, Jan Henrik Øverland janhenrik.overland@gmail.com a écrit :

Hi Guy,

The 2.20 plugin does the authentication for you (as long as you provide the crossDomain, username and password) so you can remove the login code. This will work (replace password):

On Fri, Oct 2, 2015 at 3:45 PM, Guy Ekani constyekani@yahoo.fr wrote:

Thanks Jan,

I migrated to DHIS-Live 2.20(19682), But I’m always getting the error :

XMLHttpRequest cannot load http://localhost:8082/dhis-web-commons-security/login.action. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=irhqgxqywe5v1kb27d5obvhec?failed=true’, which is disallowed for cross-origin requests that require preflight.

and

Blocking of a multi-query origins (Cross-Origin Request): the “Same Origin” policy does not refer to the remote resource on http: // localhost: 8082 / web-dhis-commons-security / login.action . Reason: the header CORS “Access-Control-Allow-Origin” is missing. Reason: Failed to CORS request.

Sincerely,

=========================
EKANI Guy

Le Vendredi 2 octobre 2015 8h56, Jan Henrik Øverland janhenrik.overland@gmail.com a écrit :

Hi Guy,

A fix is needed both in the Ext version we are (still) using and in the plugins to make this work. Unfortunately I have only had the time to update trunk and 2.20 so far.

If it is OK for you to upgrade to 2.20 it will work right away if you add the following to your plugin configuration:

DHIS.getTable({

...
...
crossDomain: true,
username: <portal user>,
password: <portal user password>

});

Will try to find some time to backport it to 2.19 and 2.18 as well.

And by the way, you say that you run

  • DHIS Live 2.18

Make sure that the plugin version matches the DHIS2 version.

Jan

On Fri, Oct 2, 2015 at 10:37 AM, Guy Ekani constyekani@yahoo.fr wrote:

Thank You Lars,

I tried a example, Please let me give you my configuration :

  • DHIS Live 2.18 (18179) on Windows 7
  • Database = PostGreSQL 9.3

**- Remote acces - CORE White Liste **

- My script

- console error on web browser

1.XMLHttpRequest cannot load http://localhost:8082/dhis-web-commons-security/login.action. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=yvbsx7nvigeft54069fvllae?failed=true’, which is disallowed for cross-origin requests that require preflight.

2.XMLHttpRequest cannot load http://localhost:8082/dhis-web-commons/security/login.action. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘null’ is therefore not allowed access.

Sincerely,

=========================
EKANI Guy

Le Jeudi 1 octobre 2015 19h11, Lars Helge Øverland larshelge@gmail.com a écrit :

Hi Guy,

for starters I recommend that you start reading up on how to use the analytics plugins here:

https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s23.html

Using these you can embed pivots, charts and maps in web portals with live data from DHIS 2.

You can also have a look at the Web portal demo here:

https://apps.dhis2.org/portal/index.html

https://apps.dhis2.org/portal/chart.html

regards,

Lars

On Mon, Sep 28, 2015 at 5:31 PM, Guy Ekani constyekani@yahoo.fr wrote:

Hello Everyone,

Could someone can share tips on how to build a Web Portal with DHIS2 Data

Sincerely,

=========================
EKANI Guy


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


Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

http://www.dhis2.org


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


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

Ok Jan.

I will upgrade to 2.20 and check. Will get back to you all.

Regards

Hannan

···

On Wed, Oct 7, 2015 at 5:29 PM, Jan Henrik Øverland janhenrik.overland@gmail.com wrote:

Hi Hannan,

You need to use version 2.20.

On Mon, Oct 5, 2015 at 1:43 PM, Hannan Khan hannank@gmail.com wrote:

I am facing the same problem: One script following the manual is:

generating the error “XMLHttpRequest cannot load http://103.247.238.82:8080/dhismohfw/dhis-web-commons-security/login.action. Response for preflight is invalid (redirect)”

If i use code as Jan suggests:

then the following error occurs.

GET http://103.248.238.82:8080/dhismohfw/api/me/user-account.jsonp?callback=Ext.data.JsonP.callback1&_dc=1444041788222 net::ERR_CONNECTION_TIMED_OUTExt.Element.addMethods.appendTo @ ext-all.js:15Ext.Element.addMethods.appendChild @ ext-all.js:15Ext.define.request @ ext-all.js:15a @ chart.js:1DV.plugin.getChart @ chart.js:1(anonymous function) @ testchart1.html:16(anonymous function) @ ext-all.js:15b @ ext-all.js:15

ext-all.js:15 GET http://103.248.238.82:8080/dhismohfw/api/organisationUnits.jsonp?userOnly=t…[id,name]&paging=false&callback=Ext.data.JsonP.callback2&_dc=1444041788230 net::ERR_CONNECTION_TIMED_OUTExt.Element.addMethods.appendTo @ ext-all.js:15Ext.Element.addMethods.appendChild @ ext-all.js:15Ext.define.request @ ext-all.js:15a @ chart.js:1DV.plugin.getChart @ chart.js:1(anonymous function) @ testchart1.html:16(anonymous function) @ ext-all.js:15b @ ext-all.js:15

ext-all.js:15 GET http://103.248.238.82:8080/dhismohfw/api/dimensions.jsonp?links=false&paging=false&callback=Ext.data.JsonP.callback3&_dc=1444041788231 net::ERR_CONNECTION_TIMED_OUTExt.Element.addMethods.appendTo @ ext-all.js:15Ext.Element.addMethods.appendChild @ ext-all.js:15Ext.define.request @ ext-all.js:15a @ chart.js:1DV.plugin.getChart @ chart.js:1(anonymous function) @ testchart1.html:16(anonymous function) @ ext-all.js:15b @ ext-all.js:15

Please help me to solve this.

On Fri, Oct 2, 2015 at 8:18 PM, Guy Ekani constyekani@yahoo.fr wrote:

Thank’s Jan !

It’s working with https://dhis2-cdn.org/v217/plugin/table.js on Google Chrome,

But not Displaying in Mozilla Firefox !

May God Bless you all

EKANI Guy

=========================

Le Vendredi 2 octobre 2015 15h08, Jan Henrik Øverland janhenrik.overland@gmail.com a écrit :

You need to add exactly

http://localhost:8082

(without the final /) to the CORS whitelist.

On Fri, Oct 2, 2015 at 4:50 PM, Guy Ekani constyekani@yahoo.fr wrote:

Now I have the following errors in DHIS-Live 2.20(19682)/PosgreSQL :

Table.html:1 XMLHttpRequest cannot load http://localhost:8082/api/me/user-account.json. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=pz57xiqk2xlcc1jy8sjv8pm7’, which is disallowed for cross-origin requests that require preflight.

Table.html:1 XMLHttpRequest cannot load http://localhost:8082/api/dimensions.json?fields=id,name&paging=false. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=30ih6480fdr61a2t4ppd2c674’, which is disallowed for cross-origin requests that require preflight.

Table.html:1 XMLHttpRequest cannot load http://localhost:8082/api/legendSets.json?fields=id,name,legends[id,name,startValue,endValue,color]&paging=false&_dc=1443793668223. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=1ll1s8lo6k26hq9q2eprb9px8’, which is disallowed for cross-origin requests that require preflight.

Table.html:1 XMLHttpRequest cannot load http://localhost:8082/api/organisationUnits.json?userOnly=true&fields=id,name,children[id,name]&paging=false. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=1jsyr9wmynlpg196nnj4jskfj6’, which is disallowed for cross-origin requests that require preflight.

=========================
EKANI Guy

Le Vendredi 2 octobre 2015 14h01, Jan Henrik Øverland janhenrik.overland@gmail.com a écrit :

Hi Guy,

The 2.20 plugin does the authentication for you (as long as you provide the crossDomain, username and password) so you can remove the login code. This will work (replace password):

On Fri, Oct 2, 2015 at 3:45 PM, Guy Ekani constyekani@yahoo.fr wrote:

Thanks Jan,

I migrated to DHIS-Live 2.20(19682), But I’m always getting the error :

XMLHttpRequest cannot load http://localhost:8082/dhis-web-commons-security/login.action. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=irhqgxqywe5v1kb27d5obvhec?failed=true’, which is disallowed for cross-origin requests that require preflight.

and

Blocking of a multi-query origins (Cross-Origin Request): the “Same Origin” policy does not refer to the remote resource on http: // localhost: 8082 / web-dhis-commons-security / login.action . Reason: the header CORS “Access-Control-Allow-Origin” is missing. Reason: Failed to CORS request.

Sincerely,

=========================
EKANI Guy

Le Vendredi 2 octobre 2015 8h56, Jan Henrik Øverland janhenrik.overland@gmail.com a écrit :

Hi Guy,

A fix is needed both in the Ext version we are (still) using and in the plugins to make this work. Unfortunately I have only had the time to update trunk and 2.20 so far.

If it is OK for you to upgrade to 2.20 it will work right away if you add the following to your plugin configuration:

DHIS.getTable({

...
...
crossDomain: true,
username: <portal user>,
password: <portal user password>

});

Will try to find some time to backport it to 2.19 and 2.18 as well.

And by the way, you say that you run

  • DHIS Live 2.18

Make sure that the plugin version matches the DHIS2 version.

Jan

On Fri, Oct 2, 2015 at 10:37 AM, Guy Ekani constyekani@yahoo.fr wrote:

Thank You Lars,

I tried a example, Please let me give you my configuration :

  • DHIS Live 2.18 (18179) on Windows 7
  • Database = PostGreSQL 9.3

**- Remote acces - CORE White Liste **

- My script

- console error on web browser

1.XMLHttpRequest cannot load http://localhost:8082/dhis-web-commons-security/login.action. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=yvbsx7nvigeft54069fvllae?failed=true’, which is disallowed for cross-origin requests that require preflight.

2.XMLHttpRequest cannot load http://localhost:8082/dhis-web-commons/security/login.action. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘null’ is therefore not allowed access.

Sincerely,

=========================
EKANI Guy

Le Jeudi 1 octobre 2015 19h11, Lars Helge Øverland larshelge@gmail.com a écrit :

Hi Guy,

for starters I recommend that you start reading up on how to use the analytics plugins here:

https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s23.html

Using these you can embed pivots, charts and maps in web portals with live data from DHIS 2.

You can also have a look at the Web portal demo here:

https://apps.dhis2.org/portal/index.html

https://apps.dhis2.org/portal/chart.html

regards,

Lars

On Mon, Sep 28, 2015 at 5:31 PM, Guy Ekani constyekani@yahoo.fr wrote:

Hello Everyone,

Could someone can share tips on how to build a Web Portal with DHIS2 Data

Sincerely,

=========================
EKANI Guy


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


Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

http://www.dhis2.org


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


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

Hello everyone,

I’m facing two porblems with portal in dhis 2.21 (20853),

  1. i’m not able to retrieve table and chart when i’m not connected in dhis2

Error = Refused to execute script from ‘http://localhost:8080/api/organisationUnits.jsonp?userOnly=true&…[id,name]&paging=false&callback=Ext.data.JsonP.callback2&_dc=1446642499830’ because its MIME type (‘text/html’) is not executable, and strict MIME type checking is enabled.

  1. In the screenshot of a table portal : separator thousand displays “undefined”

Please help

image

···

=========================
EKANI Guy

Le Jeudi 8 octobre 2015 13h46, Hannan Khan hannank@gmail.com a écrit :

Ok Jan.

I will upgrade to 2.20 and check. Will get back to you all.

Regards

Hannan

On Wed, Oct 7, 2015 at 5:29 PM, Jan Henrik Øverland janhenrik.overland@gmail.com wrote:

Hi Hannan,

You need to use version 2.20.

On Mon, Oct 5, 2015 at 1:43 PM, Hannan Khan hannank@gmail.com wrote:

I am facing the same problem: One script following the manual is:

generating the error “XMLHttpRequest cannot load http://103.247.238.82:8080/dhismohfw/dhis-web-commons-security/login.action. Response for preflight is invalid (redirect)”

If i use code as Jan suggests:

then the following error occurs.

GET http://103.248.238.82:8080/dhismohfw/api/me/user-account.jsonp?callback=Ext.data.JsonP.callback1&_dc=1444041788222 net::ERR_CONNECTION_TIMED_OUTExt.Element.addMethods.appendTo @ ext-all.js:15Ext.Element.addMethods.appendChild @ ext-all.js:15Ext.define.request @ ext-all.js:15a @ chart.js:1DV.plugin.getChart @ chart.js:1(anonymous function) @ testchart1.html:16(anonymous function) @ ext-all.js:15b @ ext-all.js:15

ext-all.js:15 GET http://103.248.238.82:8080/dhismohfw/api/organisationUnits.jsonp?userOnly=t…[id,name]&paging=false&callback=Ext.data.JsonP.callback2&_dc=1444041788230 net::ERR_CONNECTION_TIMED_OUTExt.Element.addMethods.appendTo @ ext-all.js:15Ext.Element.addMethods.appendChild @ ext-all.js:15Ext.define.request @ ext-all.js:15a @ chart.js:1DV.plugin.getChart @ chart.js:1(anonymous function) @ testchart1.html:16(anonymous function) @ ext-all.js:15b @ ext-all.js:15

ext-all.js:15 GET http://103.248.238.82:8080/dhismohfw/api/dimensions.jsonp?links=false&paging=false&callback=Ext.data.JsonP.callback3&_dc=1444041788231 net::ERR_CONNECTION_TIMED_OUTExt.Element.addMethods.appendTo @ ext-all.js:15Ext.Element.addMethods.appendChild @ ext-all.js:15Ext.define.request @ ext-all.js:15a @ chart.js:1DV.plugin.getChart @ chart.js:1(anonymous function) @ testchart1.html:16(anonymous function) @ ext-all.js:15b @ ext-all.js:15

Please help me to solve this.

On Fri, Oct 2, 2015 at 8:18 PM, Guy Ekani constyekani@yahoo.fr wrote:

Thank’s Jan !

It’s working with https://dhis2-cdn.org/v217/plugin/table.js on Google Chrome,

But not Displaying in Mozilla Firefox !

May God Bless you all

=========================
EKANI Guy

Le Vendredi 2 octobre 2015 15h08, Jan Henrik Øverland janhenrik.overland@gmail.com a écrit :

You need to add exactly

http://localhost:8082

(without the final /) to the CORS whitelist.

On Fri, Oct 2, 2015 at 4:50 PM, Guy Ekani constyekani@yahoo.fr wrote:

Now I have the following errors in DHIS-Live 2.20(19682)/PosgreSQL :

Table.html:1 XMLHttpRequest cannot load http://localhost:8082/api/me/user-account.json. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=pz57xiqk2xlcc1jy8sjv8pm7’, which is disallowed for cross-origin requests that require preflight.

Table.html:1 XMLHttpRequest cannot load http://localhost:8082/api/dimensions.json?fields=id,name&paging=false. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=30ih6480fdr61a2t4ppd2c674’, which is disallowed for cross-origin requests that require preflight.

Table.html:1 XMLHttpRequest cannot load http://localhost:8082/api/legendSets.json?fields=id,name,legends[id,name,startValue,endValue,color]&paging=false&_dc=1443793668223. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=1ll1s8lo6k26hq9q2eprb9px8’, which is disallowed for cross-origin requests that require preflight.

Table.html:1 XMLHttpRequest cannot load http://localhost:8082/api/organisationUnits.json?userOnly=true&fields=id,name,children[id,name]&paging=false. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=1jsyr9wmynlpg196nnj4jskfj6’, which is disallowed for cross-origin requests that require preflight.

=========================
EKANI Guy

Le Vendredi 2 octobre 2015 14h01, Jan Henrik Øverland janhenrik.overland@gmail.com a écrit :

Hi Guy,

The 2.20 plugin does the authentication for you (as long as you provide the crossDomain, username and password) so you can remove the login code. This will work (replace password):

On Fri, Oct 2, 2015 at 3:45 PM, Guy Ekani constyekani@yahoo.fr wrote:

Thanks Jan,

I migrated to DHIS-Live 2.20(19682), But I’m always getting the error :

XMLHttpRequest cannot load http://localhost:8082/dhis-web-commons-security/login.action. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=irhqgxqywe5v1kb27d5obvhec?failed=true’, which is disallowed for cross-origin requests that require preflight.

and

Blocking of a multi-query origins (Cross-Origin Request): the “Same Origin” policy does not refer to the remote resource on http: // localhost: 8082 / web-dhis-commons-security / login.action . Reason: the header CORS “Access-Control-Allow-Origin” is missing. Reason: Failed to CORS request.

Sincerely,

=========================
EKANI Guy

Le Vendredi 2 octobre 2015 8h56, Jan Henrik Øverland janhenrik.overland@gmail.com a écrit :

Hi Guy,

A fix is needed both in the Ext version we are (still) using and in the plugins to make this work. Unfortunately I have only had the time to update trunk and 2.20 so far.

If it is OK for you to upgrade to 2.20 it will work right away if you add the following to your plugin configuration:

DHIS.getTable({

...
...
crossDomain: true,
username: <portal user>,
password: <portal user password>

});

Will try to find some time to backport it to 2.19 and 2.18 as well.

And by the way, you say that you run

  • DHIS Live 2.18

Make sure that the plugin version matches the DHIS2 version.

Jan

On Fri, Oct 2, 2015 at 10:37 AM, Guy Ekani constyekani@yahoo.fr wrote:

Thank You Lars,

I tried a example, Please let me give you my configuration :

  • DHIS Live 2.18 (18179) on Windows 7
  • Database = PostGreSQL 9.3

**- Remote acces - CORE White Liste **

- My script

- console error on web browser

1.XMLHttpRequest cannot load http://localhost:8082/dhis-web-commons-security/login.action. The request was redirected to ‘http://localhost:8082/dhis-web-commons/security/login.action;jsessionid=yvbsx7nvigeft54069fvllae?failed=true’, which is disallowed for cross-origin requests that require preflight.

2.XMLHttpRequest cannot load http://localhost:8082/dhis-web-commons/security/login.action. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘null’ is therefore not allowed access.

Sincerely,

=========================
EKANI Guy

Le Jeudi 1 octobre 2015 19h11, Lars Helge Øverland larshelge@gmail.com a écrit :

Hi Guy,

for starters I recommend that you start reading up on how to use the analytics plugins here:

https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s23.html

Using these you can embed pivots, charts and maps in web portals with live data from DHIS 2.

You can also have a look at the Web portal demo here:

https://apps.dhis2.org/portal/index.html

https://apps.dhis2.org/portal/chart.html

regards,

Lars

On Mon, Sep 28, 2015 at 5:31 PM, Guy Ekani constyekani@yahoo.fr wrote:

Hello Everyone,

Could someone can share tips on how to build a Web Portal with DHIS2 Data

Sincerely,

=========================
EKANI Guy


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


Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

http://www.dhis2.org


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


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