[Dhis2-devs] Clarification needed - are deactivated TEI enrollments included in Program Indicators?

2017-02-07 Thread Calle Hedberg
Hi

The user manual is not clear on this topic, partially because the
nomenclature is mixed up - the term "deactivated" is used synonymously with
"canceled". For me, "canceled" has a different intuitive meaning than
deactivated, but both terms do not clearly convey if the data for all
practical purposes are "softDeleted". When something is softdeleted, it is
marked as deleted (and thus excluded from all analysis and reporting)  but
not physically removed from the database.

If you deactivate a TEI enrollment, it becomes "read-only" - the data
remains, but you cannot add or edit it further. That is fine - the question
is whether such deactivated data is automatically excluded from all program
indicators and other reporting tools?

If deactivated TEI enrollments are NOT excluded - how can I differentiate
between active and deactivated enrollments when designing program
indicators?

The background for this is disease surveillance, where some notifications
are found to be incorrect (the disease turned out to be something else
which is NOT notifiable) - managers want to "deactivate" or else tag such
notifications as "de-notified", BUT they also want to keep the data in the
system and now and then analyse the composition of such "de-notified" cases
to for instance identify needs for better training of clinicians on
identifying certain diseases.

Regards
Calle

***

Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedb...@gmail.com

Skype: calle_hedberg

***
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] FW: Authorities in 2.25 (vs 2.22)

2017-02-07 Thread Lars Helge Øverland
Hi Sam,

thanks for bringing this up. It is an issue we need to handle better.

There is a trick to finding the complete set of authorities per version.

   - Start up a DHIS instance of the desired version.
   - Create a new user role, give it the name AAA, and select all available
   authorities, click Save.
   - Then execute this SQL:

select ua.authority
into _auths
from userroleauthorities ua
inner join userrole ur on ua.userroleid=ur.userroleid
where ur.name = 'AAA';


You can repeat the process on the target DHIS 2 version instance, and then
copy the tables into a single database and use SQL (..where not in..) to
compare them.

You can also save this to a file and compare using CSV/Excel:

psql -d dhis2 -U dhis -c "select * from _auths"  > auths.txt

We can also work on this on our side and include pruning of obsolete
authorities in a DHIS startup routine.

best,

Lars
​

On Tue, Feb 7, 2017 at 2:37 AM, Sam Johnson 
wrote:

> Hi Devs,
>
>
>
> If possible, I’d be very grateful for some advice around authorities in
> 2.25.
>
>
>
> In order to help prepare for PSI’s upgrade to 2.25, we’ve done an analysis
> of changes in Authorities between 2.22 and 2.25.  I couldn’t find a
> database table containing Authorities, and the list of Authorities in the
> DHIS2 documentation doesn’t appear to have been updated since version 2.22,
> so I’ve scraped the ‘Authorities’ drop-down in the ‘Create Role’ screen to
> obtain lists of Authorities in 2.22 and 2.25 for comparison.
>
>
>
> The following Authority changes seem fairly straightforward, and were
> documented as part of DHIS2 releases:
>
>
>
> *RETIRED (functionality no longer exists)*
>
> · View data browser
>
> · See Data Set Maintenance module
>
> · See Organisation Unit Maintenance module
>
> · Scheduling case aggregate query builder
>
> *INTRODUCED (new functionality)*
>
> · Delete External Map Layer
>
> · Add/Update Private External Map Layer
>
> · Add/Update Public External Map Layer
>
> · Add/Update Legend
>
> · Delete Legend
>
> · Delete Legend Set
>
> · Add/Update Private Legend Set
>
> · Add/Update Public Legend Set
>
> · Metadata sync
>
> · Add/Update Predictor
>
> · Delete Predictor
>
> · Delete Program Indicator Group
>
> · Add/Update Private Program Indicator Group
>
> · Add/Update Public Program Indicator Group
>
> · Add/Update Push Analysis
>
> · Delete Push Analysis
>
> · See Usage Analytics module
>
>
>
> I’m guessing the following Authorities have been retired because they
> duplicate existing (more refined) Authorities?   Could you confirm whether
> this guess is correct?
>
> *RETIRED AS REDUNDANT?:*
>
> · Option Set Management
>
> · Constant Management
>
> *DO THESE EXISTING AUTHORITIES MAINTAINED IN 2.25 PROVIDE THE SAME
> PERMISSIONS?*
>
> · Delete Option Set
>
> · Add/Update Private Option Set
>
> · Add/Update Public Option Set
>
>
>
> · Add Constant
>
> · Delete Constant
>
>
>
> I’m not sure what the following new set of Authorities govern – I’ve
> looked at Option Sets (as distinct from Category Option Group Sets), but
> can’t find any concept of ‘Groups’ in Options/Option Sets…  What do these
> new authorities control?
>
> *INTRODUCED*
>
> · Delete Option Group
>
> · Add/Update Private Option Group
>
> · Add/Update Public Option Group
>
> · Delete Option Group Set
>
> · Add/Update Private Option Group Set
>
> · Add/Update Public Option Group Set
>
>
>
> The following appear to have been RETIRED prior to the 2.25 release –
> could you confirm that these Authorities have indeed been retired (rather
> than just missed off the drop-down of Authorities in the ‘Create Role’
> screen)?  If they have been retired, which Authority now manages these
> permissions?
>
> *RETIRED?  (AND REPLACED BY?)*
>
> · Add Relationship Type – now covered by ???
>
> · Delete Relationship Type – now covered by ???
>
>
>
> · Scheduling send messages – now covered by ???
>
>
>
> · Add/Update Section – now covered by ???
>
> · Delete Section – now covered by ???
>
>
>
> · Add/Update Tracked Entity – now covered by ???
>
> · Delete Tracked Entity – now covered by ???
>
>
>
> · Manage Tracked Entities – now covered by ???
>
> · Update Tracked Entities – now covered by ???
>
>
>
> · Delete Tracked Entity Attribute – now covered by ???
>
> · Add/Update Private Tracked Entity Attribute – now covered by ???
>
> · Add/Update Public Tracked Entity Attribute – now covered by ???
>
>
>
> · Manage Tracked Entity Instance Reminders
>
>
>
> · M_dhis-web-menu-management
>
>
>
>
>
> We’d be very grateful for any advice or feedback you can provide on the
> questions above, 

Re: [Dhis2-devs] [Dhis2-users] Generate data output

2017-02-07 Thread Raminosoa Rabemanantsoa, Tantely
Dear Lars,

Thank you for those new development that have been newly introduced which
are interesting. So for version 2.24, if we output raw data through SQL
View, is it possible to integrate the results into dashboards?

Regards,

Tantely

On Tue, Feb 7, 2017 at 9:10 PM, Lars Helge Øverland  wrote:

> Hi Tantely,
>
> we introduced a new analytics web API resource in 2.26 for "raw" data
> which you might find interesting. Docs:
>
> https://docs.dhis2.org/master/en/developer/html/webapi_
> analytics.html#webapi_analytics_raw_data
>
> It follows the same syntax as the regular analytics resource (at
> /api/analytics) but it does not perform any aggregation (e.g. in the org
> unit hierarchy dimension), and instead gives you the raw data in a
> tabular/grid format.
>
> You can use the pivot table > download to browse your metadata, and then
> use the /api/analytics/rawData as base URL instead. Note that this might
> return a ton of data so you might want to split up into multiple requests.
>
> Example:
>
> https://play.dhis2.org/demo/api/26/analytics/rawData.json?
> dimension=dx:s46m5MS0hxu;UOlfIjgN8X6=pe:THIS_
> YEAR=ou:YuQRtpLP10I
>
> You can use the outputIdScheme param to give you names instead of IDs:
>
> https://play.dhis2.org/demo/api/26/analytics/rawData.json?
> dimension=dx:s46m5MS0hxu;UOlfIjgN8X6=pe:THIS_
> YEAR=ou:YuQRtpLP10I=NAME
>
> You can also use the startDate and endDate params for more flexibility.
>
> regards,
>
> Lars
>
>
>
> On Tue, Feb 7, 2017 at 6:41 PM, Raminosoa Rabemanantsoa, Tantely <
> tramino...@mikolo.org> wrote:
>
>> Dear community,
>>
>> I would like to output data in a tabular format (data elements in
>> columns, orgUnits and periods per row) at the lowest level of orgUnits. In
>> which way should I do that as data in text format could not be displayed
>> through pivot table?
>>
>> Thank you for your support!
>>
>> Regards.
>>
>> Tantely.
>>
>> *This message and its attachments are confidential and solely for the
>> intended recipients. If received in error, please delete them and notify
>> the sender via reply e-mail immediately.*
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-us...@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
> l...@dhis2.org
> http://www.dhis2.org 
>

-- 
*This message and its attachments are confidential and solely for the 
intended recipients. If received in error, please delete them and notify 
the sender via reply e-mail immediately.*
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] About and Home Menu's hidden in the Pivot table

2017-02-07 Thread Jan Henrik Øverland
Hi Muturi,

This is caused by a weakness in the ui framework, ExtJS 4. However it only
happens when the option window (or any other Ext window) is taller than the
whole browser window - and the option window is only about 600px tall so it
should work in most cases. But a bit annoying if you have resized the
browser window of course. We are aiming to refactor the ui some time this
year anyway.

Jan

On 7 February 2017 at 22:34, David Muturi  wrote:

> Hi Devs,
> Another UI issue is that the about and Home menu links get hidden within
> the pivot table once one clicks on options. The only solution for now is to
> reload the page. This is happening on both versions 2.25 and 2.26. I have
> attached a screenshot of the same.
> rgds
> David
>
> ___
> 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
>
>


-- 
Jan Henrik Øverland
Software developer, DHIS 2
University of Oslo
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


[Dhis2-devs] About and Home Menu's hidden in the Pivot table

2017-02-07 Thread David Muturi
Hi Devs,
Another UI issue is that the about and Home menu links get hidden within
the pivot table once one clicks on options. The only solution for now is to
reload the page. This is happening on both versions 2.25 and 2.26. I have
attached a screenshot of the same.
rgds
David
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Generate data output

2017-02-07 Thread Lars Helge Øverland
Hi Tantely,

we introduced a new analytics web API resource in 2.26 for "raw" data which
you might find interesting. Docs:

https://docs.dhis2.org/master/en/developer/html/webapi_analytics.html#webapi_analytics_raw_data

It follows the same syntax as the regular analytics resource (at
/api/analytics) but it does not perform any aggregation (e.g. in the org
unit hierarchy dimension), and instead gives you the raw data in a
tabular/grid format.

You can use the pivot table > download to browse your metadata, and then
use the /api/analytics/rawData as base URL instead. Note that this might
return a ton of data so you might want to split up into multiple requests.

Example:

https://play.dhis2.org/demo/api/26/analytics/rawData.json?dimension=dx:s46m5MS0hxu;UOlfIjgN8X6=pe:THIS_YEAR=ou:YuQRtpLP10I

You can use the outputIdScheme param to give you names instead of IDs:

https://play.dhis2.org/demo/api/26/analytics/rawData.json?dimension=dx:s46m5MS0hxu;UOlfIjgN8X6=pe:THIS_YEAR=ou:YuQRtpLP10I=NAME

You can also use the startDate and endDate params for more flexibility.

regards,

Lars



On Tue, Feb 7, 2017 at 6:41 PM, Raminosoa Rabemanantsoa, Tantely <
tramino...@mikolo.org> wrote:

> Dear community,
>
> I would like to output data in a tabular format (data elements in columns,
> orgUnits and periods per row) at the lowest level of orgUnits. In which way
> should I do that as data in text format could not be displayed through
> pivot table?
>
> Thank you for your support!
>
> Regards.
>
> Tantely.
>
> *This message and its attachments are confidential and solely for the
> intended recipients. If received in error, please delete them and notify
> the sender via reply e-mail immediately.*
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@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
l...@dhis2.org
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


[Dhis2-devs] Generate data output

2017-02-07 Thread Raminosoa Rabemanantsoa, Tantely
Dear community,

I would like to output data in a tabular format (data elements in columns,
orgUnits and periods per row) at the lowest level of orgUnits. In which way
should I do that as data in text format could not be displayed through
pivot table?

Thank you for your support!

Regards.

Tantely.

-- 
*This message and its attachments are confidential and solely for the 
intended recipients. If received in error, please delete them and notify 
the sender via reply e-mail immediately.*
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Visualizer issue

2017-02-07 Thread gerald thomas
Dear All.
I am using version 2.25 war file, build revision 3de90a5.

On 2/7/17, gerald thomas  wrote:
> Dear all,
> On my local instance I am receiving an error. Please find the attached
> print screen of the error.
>


-- 
Regards,

Gerald

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Connection between DHIS and particular Data Bases

2017-02-07 Thread usuario tecugi
*Hi all,*

We want to touch base with you about: Is there any way to autocomplete
textfields using a connection with a particular database.

Example: We want to search using and typing an ID Number in a textfield in
DHIS (Since someone born in Honduras then he/she is registred, all honduran
has an ID Number), the name and marital status, those will be filled in
another textfields.

In other words, we want to search in an national official database,
personal and official information of enrolled aliens in DHIS.

Please let us know if there any way to connect DHIS with another
information systems.

Warm Regards,





*ISC. Carlos M. Herrera SierraSESAL/ugi9715-2987usuariotec...@gmail.com
*
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] API Field transformers are not working

2017-02-07 Thread Lars Helge Øverland
Hi Anil,

the | is no longer supported in URLs by Tomcat. Please move over to using ~
instead.

Lars

On Tue, Feb 7, 2017 at 2:28 PM, Morten Olav Hansen  wrote:

> Hi Anil
>
> We are aware of this, and Jan is working on updating the apps (he was
> waiting for a backport of mine to support both | and ~ in earlier versions
> of DHIS2).
>
> --
> Morten Olav Hansen
> Senior Engineer, DHIS 2
> University of Oslo
> http://www.dhis2.org
>
> On Tue, Feb 7, 2017 at 8:06 PM, Anilkumar Kodi 
> wrote:
>
>> Hi devs,
>>
>> We are using 2.25 DHIS version. Some of the dhis apis are throwing 400
>> when using | symbol but working fine when using ~ symbol.
>>
>> ex: /api/organisationUnits?fields=id,displayName|rename(name)
>>
>> As per 2.24 documentation the field transformers use *|* and 2.25 use *~
>> *symbol, but we see 2.25 plugins (eg: chart.js, table.js,eventchart.js)
>> are still using pipe(* |* ) symbol.
>>
>> Did anyone face this issue before? Any suggestions please.
>>
>>
>>
>>
>>
>> Thanks,
>> Anil Kumar
>>
>
>


-- 
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
l...@dhis2.org
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


Re: [Dhis2-devs] [Dhis2-users] Error in GIS app DHIS2 2.26

2017-02-07 Thread Bjørn Sandvik
Hi Marc,

Could you please test if the same error occurs on our demo instance also
running 2.26: https://play.dhis2.org/demo/
("Inpatient morbidity and mortality" and "Malaria case registration"
programs contains event coordinates).

I've not yet been able to reproduce the bug myself.

If possible, you could also send me access details to your DHIS 2 instance,
so I could have a closer look.

Bjørn

-- 
Bjørn Sandvik
GIS developer, DHIS 2
University of Oslo
www.dhis2.org



On Tue, Feb 7, 2017 at 2:23 PM, Marc Garnica 
wrote:

> Code 500
> Status: Internal Server Error
>
> Invalid format "01-02-2017" is malformed at "16"
>
> We are using DHIS2 2.26 build c086660
>
> Thank you very much!
>
> Marc
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@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


Re: [Dhis2-devs] API Field transformers are not working

2017-02-07 Thread Morten Olav Hansen
Hi Anil

We are aware of this, and Jan is working on updating the apps (he was
waiting for a backport of mine to support both | and ~ in earlier versions
of DHIS2).

-- 
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
http://www.dhis2.org

On Tue, Feb 7, 2017 at 8:06 PM, Anilkumar Kodi 
wrote:

> Hi devs,
>
> We are using 2.25 DHIS version. Some of the dhis apis are throwing 400
> when using | symbol but working fine when using ~ symbol.
>
> ex: /api/organisationUnits?fields=id,displayName|rename(name)
>
> As per 2.24 documentation the field transformers use *|* and 2.25 use *~ 
> *symbol,
> but we see 2.25 plugins (eg: chart.js, table.js,eventchart.js) are still
> using pipe(* |* ) symbol.
>
> Did anyone face this issue before? Any suggestions please.
>
>
>
>
>
> Thanks,
> Anil Kumar
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Error in GIS app DHIS2 2.26

2017-02-07 Thread Marc Garnica
Code 500
Status: Internal Server Error

Invalid format "01-02-2017" is malformed at "16"

We are using DHIS2 2.26 build c086660

Thank you very much!

Marc
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Error in GIS app DHIS2 2.26

2017-02-07 Thread Marc Garnica
Hi all,

We are trying to map events in the GIS app with a Coordinates data element
different from the Event default location coordinates. Eventhough we are
entering the dates in the periods using the calendar dialog (see image).
The system is complaining on a invalid date format.
[image: Imatge inserida 1]

The exact error is the following:
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] API Field transformers are not working

2017-02-07 Thread Anilkumar Kodi
Hi devs,

We are using 2.25 DHIS version. Some of the dhis apis are throwing 400 when
using | symbol but working fine when using ~ symbol.

ex: /api/organisationUnits?fields=id,displayName|rename(name)

As per 2.24 documentation the field transformers use *|* and 2.25 use
*~ *symbol,
but we see 2.25 plugins (eg: chart.js, table.js,eventchart.js) are still
using pipe(* |* ) symbol.

Did anyone face this issue before? Any suggestions please.





Thanks,
Anil Kumar
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Need help to create dhis2 app

2017-02-07 Thread gérard Bisama
Hi All,

I just want to say that I have found the solution to my problem. The
problem was that the function I called is an async fonction that return a
Promise object. It is normal that I get the undefined response from the
call. I ve used now the httpRequest object with a callback function to get
my resources.
It work now.
Thanks again

2017-02-02 18:35 GMT+01:00 gérard Bisama :

> Thanks a lot Knut for your help, It seems as if have missed a step or some
> thing. However when I have look at some project the logic seems good and
> some part of the code are similar. To be sure that am in the good way, I
> have even customize an existing project but am still getting the same
> result.
>
> Would you mind to have a look to this code: https://github.com/gerard-
> bisama/displayorgunit.git.
>
> I just return the list of orgunit from DHIS2 and want to display them in
> json format. But the code at the line #36 of app.js gives me an empty
> object while all the code seems fine.
>
> Thank you in advance, it will help me a lot if some one can direct me on
> what to do.
>
>
> 2017-02-02 10:21 GMT+01:00 Knut Staring :
>
>> Hi Gérard,
>>
>> The developers will be able to provide better input, but for inspiration,
>> it could also be worth taking a look at some student projects that were
>> done recently. Most projects involved creating DHIS2 web apps. Since these
>> are mostly novice developers, the projects are of very varying quality, but
>> some quite good.
>>
>> Link here:
>> https://wiki.uio.no/mn/ifi/inf5750/index.php/Main_Page#Group_pages
>>
>> On Thu, Feb 2, 2017 at 10:04 AM, gérard Bisama 
>> wrote:
>>
>>> Hi All,
>>>
>>> I have started a work that required to develop DHIS2 Apps to enhance
>>> some fonction in DHIS2 . The main purpose of my work is to search for some
>>> resources related to the tracker and to render them to a specific format
>>> for been used by an other system.
>>>
>>> I have used two approaches to develop the app:
>>> - The first one, is to use a nodejs framework as shown in the Firefox
>>> OWA quick start. I have used umber.js to build the app and tried to use d2
>>> package.but when I load the app in dhis2 am having issue with all import
>>> routine and the library are not found
>>>
>>> - Then I have decided to use javascrip approch with Extjs. but I have
>>> issues related the reference of the extjs library.
>>>
>>> Can someone have a tutorial to show the step by step way to create a
>>> small dhis2 app or to share a small dhis2 app skeleton. As a starting point
>>> for my project I have just tried to write an app that render the list of
>>> orgunit in json format.
>>>
>>> How can we easily debug a dhis2 web app since we dont provide
>>> authentication info when the app is out ot the dhis2.
>>>
>>> Thanks a lot for your help.
>>>
>>> --
>>> Gérard Bisama
>>> Tel:+243810890810 <+243%20810%20890%20810>
>>>
>>> ___
>>> 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 <+47%20918%2080%20522>
>> Skype: knutstar
>> http://dhis2.org
>>
>
>
>
> --
> Gérard Bisama
> Tel:+243810890810 <+243%20810%20890%20810>
>



-- 
Gérard Bisama
Tel:+243810890810
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Javascript cross domain access to DHIS2

2017-02-07 Thread James Chang
Thanks, Greg.

I will give it, CORS white list, a try.  : )

On Thu, Feb 2, 2017 at 8:55 PM, Greg Rowles  wrote:

> Hi James
>
> DHIS does allow cross domain access. A few things you need to preconfigure
> include:
> 1. CORS white list (under settings / access), add your webpage URL/domain
> to this list
> 2. ensure you are querying DHIS2 on the same HTTP or HTTPS protocol as
> your webpage (avoid using different protocols at all costs)
>
> Regards,
> Greg
>
>
> On Thu, Feb 2, 2017 at 3:42 PM, James Chang  wrote:
>
>> Hi,
>>
>> We are trying to create a webpage that connects to our DHIS2 site in
>> behalf of user (using javascript), and redirect to that DHIS2 site
>> afterwards.
>>
>> Thus, it will eliminate the user having to go through the login page
>> since it is already done the login process and in session.
>>
>> But, DHIS2 does not allow this kind of cross domain access to DHIS2,
>> right?
>>
>> Wanted to make sure this is still the case.
>>
>>
>> ___
>> 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
>>
>>
>
>
> --
> *Health Information Systems Program - South Africa*
> *- - - - - - - **- - - - - - - **- - - - - - - **- - - - - - - **- - - -
> - *
> Mobile  :073 246 2992
> Landline:   021 851 2216
> Skype:  gregory_rowles
>
___
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