[Dhis2-devs] WebAPI TrackedEntityInstance Attribute filter combine

2017-03-27 Thread James Chang
Hi, In WebAPI, filter can be combined with 'AND' condition. */api/26/dataElements?filter=id:eq:ID1&filter=id:eq:ID2* However, in TrackedEntityInstance attribute value filtering, it does not support this (2 filter condition combining). *api/trackedEntityInstances.json?filter=LoGHwYUQZ9y:LIKE:Mari

Re: [Dhis2-devs] [Dhis2-users] TABULAR TRACKER CAPTURE

2017-03-16 Thread James Chang
r. > > Regards > > Stanley > > On Thu, Mar 16, 2017 at 2:08 PM, James Chang > wrote: > >> Hi, Stanley. >> >> Yes, the Tabuar Tracker Capture app does not list all the >> TrackedEntityInstances (I will call it TEI in this email) (Person?) with >&

Re: [Dhis2-devs] [Dhis2-users] TABULAR TRACKER CAPTURE

2017-03-16 Thread James Chang
t; >> Regards >> Calle >> >> On 15 March 2017 at 12:06, Stanley Kalyati wrote: >> >>> Dear James, >>> >>> Thank you so much,everything is working super great. >>> >>> Enjoy the day. >>> >>> Stanley >

Re: [Dhis2-devs] [Dhis2-users] TABULAR TRACKER CAPTURE

2017-03-15 Thread James Chang
ey Kalyati wrote: > This has totally worked.Thanks James. > > Already enjoying its fruits. > > However is it also possible to enter program stages using this app? > > Regards > > Stanley > > On Wed, Mar 15, 2017 at 10:59 AM, James Chang > wrote: > >> Hi

Re: [Dhis2-devs] [Dhis2-users] TABULAR TRACKER CAPTURE

2017-03-15 Thread James Chang
Hi, Stanley. Below google drive link has the latest versions of 'Tabular Tracker Capture' app. https://drive.google.com/drive/folders/0BzSa-chDHqxsdnNjTTBmbEhNOFE Download it and rename it as 'TabularDataEntry' by removing the version part before uploading the app to DHIS. I would suggest to use

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

2017-02-07 Thread James Chang
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, >> >&g

[Dhis2-devs] Javascript cross domain access to DHIS2

2017-02-02 Thread James Chang
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

Re: [Dhis2-devs] DHIS 2.22 Web API 'userSettings' issue

2016-07-05 Thread James Chang
user, you >> can probably use the userId in the key name. For example you can save a key >> called "keyTestSetting_XYZ" in the system settings where "XYZ" is the >> userId. >> I am not sure if there is any other way to achieve this in DHIS 2.22 as &g

Re: [Dhis2-devs] DHIS Server - Setting up a scheduled event data check and update

2015-12-01 Thread James Chang
y, may > be more efficient, or in certain cases, the only way, but you are then > obviously limited to running the script on a machine that actually has > access to the DHIS2 database directly (which of course, does not need to be > the same machine as is running the applicati

Re: [Dhis2-devs] DHIS Server - Setting up a scheduled event data check and update

2015-11-29 Thread James Chang
through the API, but It would seem not to be really > what you want to do, if you do not want to use PgAgent, which could do the > same thing. > > Regards, > Jason > > > > On Sun, Nov 29, 2015 at 8:59 AM, Pierre Dane wrote: > >> so I suggest using cron with curl to

Re: [Dhis2-devs] DHIS Server - Setting up a scheduled event data check and update

2015-11-29 Thread James Chang
ierre Dane wrote: > so I suggest using cron with curl to call the sqlview > > On Sunday, 29 November 2015, James Chang wrote: > >> Hi, >> >> In DHIS Server, we are trying to create a scheduled task that checks >> events and update some data in events. >> >

[Dhis2-devs] DHIS Server - Setting up a scheduled event data check and update

2015-11-28 Thread James Chang
Hi, In DHIS Server, we are trying to create a scheduled task that checks events and update some data in events. We like to avoid using database scheduler (like pgadmin III PgAgent) That leaves us (We think) with: - cron job with shell script using database sql comments (in file) - cron job

[Dhis2-devs] 'Event Capture' javascript events

2015-03-30 Thread James Chang
Hi, We are trying out with customization of the 'custom event data entry form' for 'Single Event Without Registration'. For our use, we need Javascript events calls like below ones that exists in Aggregated side data entry form for dataSet. - dhis2.de.event.formReady - dhis2.de.event.dataValuesLo

Re: [Dhis2-devs] Upload Apps name

2014-08-05 Thread James Chang
ement'. On Tue, Aug 5, 2014 at 9:09 PM, Lars Helge Øverland wrote: > Hi James, > > just to clarify: Do you refer to using the "/" character inside the name > of the app itself ? > > regards, > > Lars > > > > On Fri, Aug 1, 2014 at 3:59 AM, James

[Dhis2-devs] Upload Apps name

2014-07-31 Thread James Chang
Hi, In App Management, I noticed that if we have '/' on the Apps name, it fails to remove the application. When 'Remove' is used on app in 'Settings', it goes through, but does not actually remove it. So, I ended up removing the app from server file directly. _

[Dhis2-devs] Data entry form longtext with new line

2014-06-05 Thread James Chang
The data entry form does not seem to handle 'new line' character. If the 'new line' character ('Enter' key) is entered, it failed to load the saved data. This is because of JSON not able to handle 'new line' character. However, with Data elements Text type as 'long text', we have 'textarea' (multi

Re: [Dhis2-devs] help on user testing - new menu solution

2013-12-02 Thread James Chang
I would personally prefer having one more step before opening the popup(context) menu. Like on 'row mouse over' or on 'row click', a menu icon/menu title box could appear next to the row title. Upon clicking that icon, the same menu popup appears. Clicking anywhere else (other than the menu icon

[Dhis2-devs] [Bug 1256214] [NEW] Report Table parameter Org Unit

2013-11-28 Thread James Chang
Public bug reported: For 'Report Table' with org unit parameter, 'Report Table' is displaying the original org unit, which was selected when creating favorite from pivot table, in addition to the parameter selected org unit. So, when we select an org unit for the report table parameter, it di

[Dhis2-devs] [Bug 1255418] [NEW] Populating analytics tables failing

2013-11-26 Thread James Chang
Public bug reported: Hi, I noticed that ‘populating anaytics tables’ are failing. We are using Version 2.13 Build revision 12878. I think same thing is happening on DHIS Dev and Demo. ** Affects: dhis2 Importance: Undecided Status: New ** Attachment added: "Analytics Fail.jpg"

Re: [Dhis2-devs] DHIS Apps Upload

2013-09-04 Thread James Chang
Thanks, Lars. It works now. On Mon, Sep 2, 2013 at 2:34 AM, Lars Helge Øverland wrote: > Hi James, > > you are right. This was fixed last Friday. Please update to latest build > and see if it works for you. > > regards, > > Lars > > > > > On Wed, Aug

[Dhis2-devs] DHIS Apps Upload

2013-08-28 Thread James Chang
Hi, The DHIS Apps upload does not seem to be working on latest 2.13 build versions. Normally, configuring the 'Settings' of Apps section correctly fixes the uploading/running the programs in Apps. However, after some version of 2.12 build, it started to not work, I think. For now, we are manual

Re: [Dhis2-devs] Single Event Without Registration Update

2013-08-28 Thread James Chang
orten > > > On Wed, Aug 28, 2013 at 8:54 AM, James Chang wrote: > >> Yes, the Content-Type header was set to "application/json". >> >> I was able to add the event data(Using the same setting except >> 'events/--'), but update one is failing.

Re: [Dhis2-devs] Single Event Without Registration Update

2013-08-27 Thread James Chang
er to "application/json" ? > > -- > Morten > > > On Wed, Aug 28, 2013 at 7:17 AM, James Chang wrote: > >> Hi, >> >> For updating data for Single Event Without Registration (doc section >> 25.7), >> I am getting errors. By any chance, has t

Re: [Dhis2-devs] Single Event Without Registration

2013-08-08 Thread James Chang
gt; eLvaci7Lb9j > http://apps.dhis2.org/dev/api/events/eLvaci7Lb9j > > > SUCCESS > > JCZ4WBXMddc > http://apps.dhis2.org/dev/api/events/JCZ4WBXMddc > > > > >

[Dhis2-devs] Single Event Without Registration

2013-08-08 Thread James Chang
Hi. Now that DHIS 2.12 has Web API that we can insert(submit) 'Single Event Without Registration' data, I am trying to build DHIS Apps for it. I am planning on creating a dynamic HTML table using jQuery for a selected ProgramStage (Single Event Without Registration). The columns (data elements)

Re: [Dhis2-devs] PDF upload functionality

2013-06-27 Thread James Chang
Hi, Jason. I am trying to figure out this issue. I have downloaded Adobe Reader 11.0 which is the current version available for download. With the default setting, I was able to fill out the PDF form in the Adobe Reader. Could you download Adobe reader version 11.0 (http://get.adobe.com/reader/)

Re: [Dhis2-devs] [Dhis2-users] Adding New Top Level Organization Units

2013-03-03 Thread James Chang
, March 03, 2013 10:25 PM To: James Chang Cc: DHIS Users ; dhis2-devs@lists.launchpad.net Subject: Re: [Dhis2-users] Adding New Top Level Organization Units Hi, I'm not actually sure whether or not that will work, or if some functionality depend on having a single root - copying the deve

Re: [Dhis2-devs] Maven build error on DataMart

2012-10-28 Thread James Chang
b/pom.xm > > Best regards, > Jason > > > On Sat, Oct 27, 2012 at 3:09 PM, James Chang > wrote: > > Hi, > > > > I am trying to get the Dhis2 development environment setup, but having > > problem making a successful project build using Maven. > >

[Dhis2-devs] Maven build error on DataMart

2012-10-27 Thread James Chang
Hi, I am trying to get the Dhis2 development environment setup, but having problem making a successful project build using Maven. Could someone give me some help on this? I am not suppose to do this on Windows 7 64bit? I am using Windows 7 OS 64bit, Bazaar 2.5.1-1, JDK 1.7.0_09, apache-maven-2.2.